Skip to content

Commit

Permalink
Try fix CI error "error MSB3073: The command setlocal" for `-E __crea…
Browse files Browse the repository at this point in the history
…te_def`
  • Loading branch information
Montura committed Jan 21, 2024
1 parent 2f8d3ba commit 8c91a55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/c/cmake/FindJniNativeSdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function(LINK_LIB_FROM_DIR LINK_DIR)
# Specify linkage directory where to find DxFeedJniNativeSdk.dylib|dll|.so
link_directories(${LINK_DIR})
if (WIN32)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
set_property(TARGET DX_FEED_JNI_NATIVE_SDK PROPERTY IMPORTED_LOCATION ${LINK_DIR}/DxFeedJniNativeSdk.dll)
set_property(TARGET DX_FEED_JNI_NATIVE_SDK PROPERTY IMPORTED_IMPLIB ${LINK_DIR}/DxFeedJniNativeSdk.lib)
elseif (APPLE)
Expand Down

0 comments on commit 8c91a55

Please sign in to comment.