QTfrontend/CMakeLists.txt
changeset 2401 2a694ea2a437
parent 2400 2422ea85d100
child 2421 a4b039ee2eb0
equal deleted inserted replaced
2400:2422ea85d100 2401:2a694ea2a437
   192 		${HW_LINK_LIBS}
   192 		${HW_LINK_LIBS}
   193 		IOKit
   193 		IOKit
   194 		)
   194 		)
   195         if (SPARKLE_FOUND)
   195         if (SPARKLE_FOUND)
   196                 set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY})
   196                 set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY})
   197                 set(CMAKE_CXX_FLAGS -DSPARKLE_ENABLED)
   197                 add_definitions(-DSPARKLE_ENABLED)
   198         endif()
   198         endif()
   199 endif()
   199 endif()
   200 
   200 
   201 
   201 
   202 if(WIN32 AND NOT UNIX)
   202 if(WIN32 AND NOT UNIX)
   203 	if(NOT SDL_LIBRARY)
   203 	if(NOT SDL_LIBRARY)
   204 		set(HW_LINK_LIBS 
   204 		set(HW_LINK_LIBS ${HW_LINK_LIBS} SDL)
   205 			${HW_LINK_LIBS}
       
   206 			SDL
       
   207 			)
       
   208 	endif(NOT SDL_LIBRARY)
   205 	endif(NOT SDL_LIBRARY)
   209 
   206 
   210 	set(HW_LINK_LIBS 
   207 	set(HW_LINK_LIBS 
   211 		${HW_LINK_LIBS}
   208 		${HW_LINK_LIBS}
   212 		ole32
   209 		ole32