Fixing problem with parent scope variable setter in CMake

parent d94ad1b4
......@@ -24,7 +24,6 @@ endif( )
if( NOT DEFINED ITA_VA_CORE_LIBS_FFT_USES_FFTW3 )
set( ITA_VA_CORE_LIBS_FFT_USES_FFTW3 ON CACHE BOOL "If ITAFFT library of ITACoreLibs uses FFTW3, VACore has to fall back to GNU GPL license." )
set( ITA_VA_COPYING_GNU_GPL ON PARENT_SCOPE )
endif( )
......@@ -57,6 +56,10 @@ vista_use_package( Eigen REQUIRED )
# Optional packages
vista_find_package( RavenNet QUIET )
if( ITA_VA_CORE_LIBS_FFT_USES_FFTW3 )
set( ITA_VA_COPYING_GNU_GPL ON PARENT_SCOPE )
endif( )
if( NOT DEFINED ITA_VACORE_VERSION_MAJOR )
set( ITA_VACORE_VERSION_MAJOR "v2018" CACHE STRING "VACore version major (usually 'v' and year)" )
endif( )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment