We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e2aae7 commit c56726aCopy full SHA for c56726a
1 file changed
modules/singGraphBuild/CMakeLists.txt
@@ -45,6 +45,12 @@ generate_export_header(${GMDS_LIB}
45
#==============================================================================
46
include(GNUInstallDirs)
47
48
+if(EXISTS "${PROJECT_SOURCE_DIR}/external/glpk/src/glpk/w64/glpk_4_65.dll")
49
+ message("GLPK WAS HERE")
50
+else ()
51
+ message("GLPK WAS NOT HERE")
52
+endif ()
53
+
54
#LIBRARY TO INSTALL
55
target_link_libraries(${GMDS_LIB} PUBLIC
56
${LIB_GMDS_IG}
@@ -88,7 +94,7 @@ install(TARGETS singGraphBuilder
88
94
if(WIN32)
89
95
add_custom_command(TARGET singGraphBuilder PRE_LINK
90
96
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"
92
98
$<TARGET_FILE_DIR:singGraphBuilder>
93
99
)
100
endif ()
0 commit comments