changeset 119 | 665c07365cb6 |
parent 99 | fd9613278d1b |
child 127 | ca70467bd0a8 |
--- a/QTfrontend/CMakeLists.txt Fri Aug 18 20:46:43 2006 +0000 +++ b/QTfrontend/CMakeLists.txt Fri Aug 18 21:02:11 2006 +0000 @@ -2,6 +2,15 @@ include_directories(${QT_INCLUDES} .) +if(WIN32 AND NOT UNIX) + set(HEDGEWARS_BINDIR ".") +else(WIN32 AND NOT UNIX) + set(HEDGEWARS_BINDIR ${CMAKE_INSTALL_PREFIX}) +endif(WIN32 AND NOT UNIX) + +configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp.in + ${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp) + set(hwfr_src game.cpp main.cpp