Skip to content

Commit 31eeae8

Browse files
committed
changed glpk dll path
1 parent 0e2aae7 commit 31eeae8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/singGraphBuild/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ generate_export_header(${GMDS_LIB}
4545
#==============================================================================
4646
include(GNUInstallDirs)
4747

48+
if(EXISTS "${PROJECT_SOURCE_DIR}/external/glpk/src/glpk/w64/glpk_4_65.dll")
49+
message(WARNING "GLPK WAS HERE")
50+
else ()
51+
message(WARNING "GLPK WAS NOT HERE")
52+
endif ()
53+
4854
#LIBRARY TO INSTALL
4955
target_link_libraries(${GMDS_LIB} PUBLIC
5056
${LIB_GMDS_IG}
@@ -88,7 +94,7 @@ install(TARGETS singGraphBuilder
8894
if(WIN32)
8995
add_custom_command(TARGET singGraphBuilder PRE_LINK
9096
COMMAND ${CMAKE_COMMAND} -E copy_if_different
91-
"../../external/glpk/src/glpk/w64/glpk_4_65.dll"
97+
"${PROJECT_SOURCE_DIR}/external/glpk/src/glpk/w64/glpk_4_65.dll"
9298
$<TARGET_FILE_DIR:singGraphBuilder>
9399
)
94100
endif ()

0 commit comments

Comments
 (0)