Skip to content

Commit 6503d38

Browse files
committed
changed glpk dll path
1 parent 0e2aae7 commit 6503d38

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

modules/singGraphBuild/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,16 @@ install(TARGETS singGraphBuilder
8686

8787
# PRE_LINK event to copy glpk dll
8888
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+
8996
add_custom_command(TARGET singGraphBuilder PRE_LINK
9097
COMMAND ${CMAKE_COMMAND} -E copy_if_different
91-
"../../external/glpk/src/glpk/w64/glpk_4_65.dll"
98+
"${PROJECT_SOURCE_DIR}\external\glpk\src\glpk\w64\glpk_4_65.dll"
9299
$<TARGET_FILE_DIR:singGraphBuilder>
93100
)
94101
endif ()

0 commit comments

Comments
 (0)