Mark several cmake options as advanced

This commit is contained in:
Magne Sjaastad 2019-08-12 08:51:26 +02:00
parent b5d9a47fdc
commit b3c00c2038
2 changed files with 6 additions and 0 deletions

View File

@ -162,6 +162,7 @@ list( APPEND REFERENCED_CMAKE_FILES
)
option (RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS "Include ApplicationCode Unit Tests" OFF)
mark_as_advanced(FORCE RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS)
if (RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS)
add_definitions(-DUSE_UNIT_TESTS)
@ -685,6 +686,8 @@ if (RESINSIGHT_PRIVATE_INSTALL)
# OpenSSL
option(RESINSIGHT_BUNDLE_OPENSSL "Bundle the OpenSSL binary DLLs" OFF)
mark_as_advanced(FORCE RESINSIGHT_BUNDLE_OPENSSL)
if (RESINSIGHT_BUNDLE_OPENSSL)
find_package(OpenSSL)
if (OPENSSL_FOUND)

View File

@ -252,6 +252,7 @@ list(APPEND THIRD_PARTY_LIBRARIES
# Qt
################################################################################
option(RESINSIGHT_BUILD_WITH_QT5 "Use Qt5" ON)
mark_as_advanced(FORCE RESINSIGHT_BUILD_WITH_QT5)
if (RESINSIGHT_BUILD_WITH_QT5)
find_package(Qt5 COMPONENTS REQUIRED Core Gui OpenGL Network Script ScriptTools Widgets)
@ -413,6 +414,8 @@ set_property(TARGET
)
option (RESINSIGHT_INCLUDE_APPFWK_TESTS "Enable AppFwk Tests" OFF)
mark_as_advanced(FORCE RESINSIGHT_INCLUDE_APPFWK_TESTS)
if (RESINSIGHT_INCLUDE_APPFWK_TESTS)
# Unit Tests
add_subdirectory(Fwk/AppFwk/cafProjectDataModel/cafProjectDataModel_UnitTests)