We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e2aae7 commit 6503d38Copy full SHA for 6503d38
modules/singGraphBuild/CMakeLists.txt
@@ -86,9 +86,16 @@ install(TARGETS singGraphBuilder
86
87
# PRE_LINK event to copy glpk dll
88
if(WIN32)
89
+ message("glpk_dll: ${PROJECT_SOURCE_DIR}/external/glpk/src/glpk/w64/glpk_4_65.dll")
90
+ if(EXISTS "${PROJECT_SOURCE_DIR}/external/glpk/src/glpk/w64/glpk_4_65.dll")
91
+ message(WARNING "GLPK WAS HERE")
92
+ else ()
93
+ message(WARNING "GLPK WAS NOT HERE")
94
+ endif ()
95
+
96
add_custom_command(TARGET singGraphBuilder PRE_LINK
97
COMMAND ${CMAKE_COMMAND} -E copy_if_different
- "../../external/glpk/src/glpk/w64/glpk_4_65.dll"
98
+ "${PROJECT_SOURCE_DIR}\external\glpk\src\glpk\w64\glpk_4_65.dll"
99
$<TARGET_FILE_DIR:singGraphBuilder>
100
)
101
endif ()
0 commit comments