mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Mark several cmake options as advanced
This commit is contained in:
parent
b5d9a47fdc
commit
b3c00c2038
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user