equal
deleted
inserted
replaced
84 |
84 |
85 IF(WIN32 AND LEMON_HAVE_CPLEX) |
85 IF(WIN32 AND LEMON_HAVE_CPLEX) |
86 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) |
86 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) |
87 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
87 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
88 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD |
88 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD |
89 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH} |
89 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH} |
90 ) |
90 ) |
91 ENDIF() |
91 ENDIF() |
92 ENDIF() |
92 ENDIF() |
93 |
93 |
94 IF(LEMON_HAVE_MIP) |
94 IF(LEMON_HAVE_MIP) |
126 |
126 |
127 IF(WIN32 AND LEMON_HAVE_CPLEX) |
127 IF(WIN32 AND LEMON_HAVE_CPLEX) |
128 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) |
128 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) |
129 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
129 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
130 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD |
130 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD |
131 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH} |
131 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH} |
132 ) |
132 ) |
133 ENDIF() |
133 ENDIF() |
134 ENDIF() |
134 ENDIF() |
135 |
135 |
136 FOREACH(TEST_NAME ${TESTS}) |
136 FOREACH(TEST_NAME ${TESTS}) |