Skip to content
Snippets Groups Projects
Commit 93460072 authored by Owen Arnold's avatar Owen Arnold
Browse files

Fix FRAMWORK_ONLY_BUILD settings

parent 6422f791
No related branches found
No related tags found
No related merge requests found
......@@ -33,20 +33,20 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
option(ENABLE_MANTIDPLOT "Enable Qt4-based gui & components" ON)
option(ENABLE_WORKBENCH "Enable Qt5-based gui & components" ON)
option(FRAMEWORK_ONLY_BUILD "Framework only build" OFF)
if(FRAMEWORK_ONLY_BUILD)
if(ENABLE_MANTIDPLOT)
if(${FRAMEWORK_ONLY_BUILD})
if(${ENABLE_MANTIDPLOT})
message(WARNING "Framework only build. Forceably switching off ENABLE_MANTIDPLOT")
endif()
if(ENABLE_WORKBENCH)
if(${ENABLE_WORKBENCH})
message(WARNING "Framework only build. Forceably switching off ENABLE_WORKBENCH")
endif()
if(ENABLE_OPENGL)
if(${ENABLE_OPENGL})
message(WARNING "Framework only build. Forceably switching off ENABLE_OPENGL")
endif()
if(ENABLE_DOCS)
if(${ENABLE_DOCS})
message(WARNING "Framework only build. Forceably switching off ENABLE_DOCS")
endif()
if(ENABLE_OPENCASCADE)
if(${ENABLE_OPENCASCADE})
message(WARNING "Framework only build. Forceably switching off ENABLE_OPENCASCADE")
endif()
set(ENABLE_MANTIDPLOT OFF)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment