Check for Qt4 earlier

This commit is contained in:
Chris Robinson 2013-06-24 18:38:26 -07:00
parent d984cec3a1
commit 77a2c8bcf0
2 changed files with 7 additions and 4 deletions

View File

@ -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)
IF(TARGET ../../alsoft-config)
MESSAGE(STATUS "Building configuration program")
ENDIF()
MESSAGE(STATUS "")
ENDIF()

View File

@ -25,5 +25,4 @@ if(QT4_FOUND)
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
)
message(STATUS "Building configuration program")
endif()