Add a cmake option to disable building only alsoft-config

This commit is contained in:
Chris Robinson
2013-10-27 07:03:58 -07:00
parent f93bfab824
commit b9e30f7604
+3 -2
View File
@@ -70,7 +70,8 @@ OPTION(ALSOFT_DLOPEN "Check for the dlopen API for loading optional libs" ON)
OPTION(ALSOFT_WERROR "Treat compile warnings as errors" OFF)
OPTION(ALSOFT_UTILS "Build and install utility programs" ON)
OPTION(ALSOFT_UTILS "Build and install utility programs" ON)
OPTION(ALSOFT_NO_CONFIG_UTIL "Disable building the alsoft-config utility" OFF)
OPTION(ALSOFT_EXAMPLES "Build and install example programs" ON)
@@ -795,7 +796,7 @@ ENDIF()
# This is always available
SET(BACKENDS "${BACKENDS} Null")
IF(ALSOFT_UTILS)
IF(ALSOFT_UTILS AND NOT ALSOFT_NO_CONFIG_UTIL)
add_subdirectory(utils/alsoft-config)
ENDIF()
IF(ALSOFT_EXAMPLES)