File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,9 +86,21 @@ install(TARGETS singGraphBuilder
8686
8787# PRE_LINK event to copy glpk dll
8888if (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 ()
89101 add_custom_command (TARGET singGraphBuilder PRE_LINK
90102 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"
92104 $<TARGET_FILE_DIR :singGraphBuilder >
93105 )
94106endif ()
You can’t perform that action at this time.
0 commit comments