Lizerui9926
2023-04-26 b78d47f1efb3d0662fce1b8d45a9eb11b3caef02
funasr/runtime/onnxruntime/src/CMakeLists.txt
@@ -8,7 +8,7 @@
add_library(funasr ${files})
if(WIN32)
    set(EXTRA_LIBS pthread yaml-cpp csrc)
    set(EXTRA_LIBS pthread yaml-cpp csrc glog)
    if(CMAKE_CL_64)
        target_link_directories(funasr PUBLIC ${CMAKE_SOURCE_DIR}/win/lib/x64)
    else()
@@ -18,7 +18,7 @@
    
    target_compile_definitions(funasr PUBLIC -D_FUNASR_API_EXPORT)
else()
    set(EXTRA_LIBS pthread yaml-cpp csrc)
    set(EXTRA_LIBS pthread yaml-cpp csrc glog )
    include_directories(${ONNXRUNTIME_DIR}/include)
endif()