tools/CMakeLists.txt
branch0.9.21
changeset 10762 a017ec64f675
parent 10382 a5752075f897
--- a/tools/CMakeLists.txt	Tue Jun 02 01:58:10 2015 +0100
+++ b/tools/CMakeLists.txt	Tue Jun 02 18:37:40 2015 +0100
@@ -6,7 +6,7 @@
     add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
 endif()
 
-if(APPLE)
+if(APPLE AND NOT SKIPBUNDLE)
     find_package(Qt4 REQUIRED QUIET)
     find_package(SDL REQUIRED)
     find_package(SDL_image REQUIRED)