COIN-OR::LEMON - Graph Library

Changeset 1204:736a341e604b in lemon-main for test/CMakeLists.txt


Ignore:
Timestamp:
01/21/21 08:36:53 (8 months ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Amend:
32376437633537633262363963663731366366613239663765626537633639316330363436623563
Message:

Update CMakeLists.txt to match current CMAKE versions (#641)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r1187 r1204  
    8585
    8686  IF(WIN32 AND LEMON_HAVE_GLPK)
    87     GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION)
    88     GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH)
    8987    ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD
    90       COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/glpk.dll ${TARGET_PATH}
    91       COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/libltdl3.dll ${TARGET_PATH}
    92       COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/zlib1.dll ${TARGET_PATH}
     88      COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/glpk.dll $<TARGET_FILE_DIR:lp_test>
     89      COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/libltdl3.dll $<TARGET_FILE_DIR:lp_test>
     90      COMMAND ${CMAKE_COMMAND} -E copy ${GLPK_BIN_DIR}/zlib1.dll $<TARGET_FILE_DIR:lp_test>
    9391    )
    9492  ENDIF()
Note: See TracChangeset for help on using the changeset viewer.