Changeset 123 in pacpusframework for branches/2.0-beta1/src/PacpusTools


Ignore:
Timestamp:
Jul 24, 2013, 10:38:37 AM (11 years ago)
Author:
morasjul
Message:

fix CMakeLists for windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusTools/CMakeLists.txt

    r120 r123  
    2727link_directories(
    2828    ${PROJECT_BINARY_DIR}/../PacpusLib
     29        ${PROJECT_BINARY_DIR}/../RoadTime
    2930)
    3031
     
    9899# Libraries
    99100# ========================================
     101
     102set(OPT_LIBRARIES
     103        optimized PacpusLib debug PacpusLib_d
     104)
     105
     106# Windows platform
     107if(WIN32)
     108    LIST(APPEND OPT_LIBRARIES
     109        optimized ROAD_TIME debug ROAD_TIME_d
     110)
     111endif()
     112
    100113target_link_libraries(
    101114    ${PROJECT_NAME}
    102115    ${QT_LIBRARIES}
    103116    ${PACPUS_DEPENDENCIES_LIB}
    104     optimized PacpusLib debug PacpusLib_d
     117    ${OPT_LIBRARIES}
    105118)
    106119
Note: See TracChangeset for help on using the changeset viewer.