changeset 2401 | 2a694ea2a437 |
parent 2400 | 2422ea85d100 |
child 2421 | a4b039ee2eb0 |
--- a/QTfrontend/CMakeLists.txt Fri Oct 02 16:49:31 2009 +0000 +++ b/QTfrontend/CMakeLists.txt Fri Oct 02 18:44:37 2009 +0000 @@ -194,17 +194,14 @@ ) if (SPARKLE_FOUND) set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY}) - set(CMAKE_CXX_FLAGS -DSPARKLE_ENABLED) + add_definitions(-DSPARKLE_ENABLED) endif() endif() if(WIN32 AND NOT UNIX) if(NOT SDL_LIBRARY) - set(HW_LINK_LIBS - ${HW_LINK_LIBS} - SDL - ) + set(HW_LINK_LIBS ${HW_LINK_LIBS} SDL) endif(NOT SDL_LIBRARY) set(HW_LINK_LIBS