--- a/QTfrontend/CMakeLists.txt Mon Dec 14 20:23:51 2009 +0000
+++ b/QTfrontend/CMakeLists.txt Wed Dec 16 14:58:45 2009 +0000
@@ -38,7 +38,7 @@
else()
set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
endif()
-endif(WIN32 AND NOT UNIX)
+endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/hwconsts.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/hwconsts.cpp)
@@ -186,7 +186,7 @@
if(WIN32 AND NOT UNIX)
if(NOT SDL_LIBRARY)
set(HW_LINK_LIBS ${HW_LINK_LIBS} SDL)
- endif(NOT SDL_LIBRARY)
+ endif()
set( HW_LINK_LIBS
${HW_LINK_LIBS}
@@ -195,7 +195,7 @@
winspool
uuid
)
-endif(WIN32 AND NOT UNIX)
+endif()
target_link_libraries(hedgewars ${HW_LINK_LIBS})