File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,14 @@ target_include_directories( IntersonArrayCxx PUBLIC
4747 $<INSTALL_INTERFACE :include >
4848 )
4949
50+ find_library (MSCOREE_LIBRARY
51+ NAMES MSCOREE mscoree
52+ PATHS "C:/Program Files (x86)/Common Files/Microsoft/Visual C++ for Python/9.0/WinSDK/Lib/"
53+ )
54+ if (MSCOREE_LIBRARY)
55+ target_link_libraries (IntersonArrayCxx ${MSCOREE_LIBRARY} )
56+ endif ()
57+
5058# Generate and install export header
5159include ( GenerateExportHeader )
5260set (export_header ${PROJECT_BINARY_DIR} /include/IntersonArrayCxx_Export.h)
@@ -88,4 +96,4 @@ if( BUILD_APPLICATIONS )
8896 COMMAND ${CMAKE_COMMAND} -E copy_if_different "${IntersonArraySDK_DIR} /Libraries/IntersonArray.dll" "${PROJECT_BINARY_DIR} /app/bin"
8997 COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE :IntersonArrayCxx >" "${PROJECT_BINARY_DIR} /app/bin"
9098 )
91- endif ()
99+ endif ()
You can’t perform that action at this time.
0 commit comments