aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-06-24 18:38:26 -0700
committerChris Robinson <[email protected]>2013-06-24 18:38:26 -0700
commit77a2c8bcf07352a75a580f1445ba112dbea69731 (patch)
treea9ae15b43ebed24a8e3f0be2e0a0d0c3ad936c33 /CMakeLists.txt
parentd984cec3a18f9a8977898ac06848b53c92fc1322 (diff)
Check for Qt4 earlier
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9bd587b0..10d278d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -766,6 +766,9 @@ ENDIF()
# This is always available
SET(BACKENDS "${BACKENDS} Null")
+IF(ALSOFT_UTILS)
+ add_subdirectory(utils/alsoft-config)
+ENDIF()
IF(ALSOFT_EXAMPLES)
FIND_PACKAGE(SDL)
IF(SDL_FOUND)
@@ -864,10 +867,11 @@ IF(ALSOFT_UTILS)
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
)
- MESSAGE(STATUS "Building utility programs")
-
- add_subdirectory(utils/alsoft-config)
+ MESSAGE(STATUS "Building utility programs")
+ IF(TARGET ../../alsoft-config)
+ MESSAGE(STATUS "Building configuration program")
+ ENDIF()
MESSAGE(STATUS "")
ENDIF()