Set the variable to override in the CMake cache, then the default value for the option in the sub project will have no effect.

p4#: 21136
This commit is contained in:
Magne Sjaastad 2013-04-05 09:43:49 +02:00
parent 2d5ed03b9b
commit ca63b9163a

View File

@ -40,7 +40,7 @@ include (ResInsightVersion.cmake)
# Disable install of ERT libs and headers, as Ert code is compiled and linked directly
# into ResInsight
set (INSTALL_ERT false)
SET(INSTALL_ERT OFF CACHE BOOL "Build ERT without installing")
add_subdirectory(ThirdParty/Ert/devel)