File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,21 @@ install(TARGETS singGraphBuilder
86
86
87
87
# PRE_LINK event to copy glpk dll
88
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
+ message ("destdir: ${<TARGET_FILE_DIR:singGraphBuilder>}" )
96
+ if (EXISTS $< TARGET_FILE_DIR:singGraphBuilder> )
97
+ message (WARNING "DESTDIR WAS HERE" )
98
+ else ()
99
+ message (WARNING "DESTDIR WAS NOT HERE" )
100
+ endif ()
89
101
add_custom_command (TARGET singGraphBuilder PRE_LINK
90
102
COMMAND ${CMAKE_COMMAND} -E copy_if_different
91
- "../.. /external/glpk/src/glpk/w64/glpk_4_65.dll"
103
+ "${PROJECT_SOURCE_DIR} /external/glpk/src/glpk/w64/glpk_4_65.dll"
92
104
$< TARGET_FILE_DIR:singGraphBuilder>
93
105
)
94
106
endif ()
You can’t perform that action at this time.
0 commit comments