From 4631d7834b11e0e3b03d7331b4493132bd20ce9f Mon Sep 17 00:00:00 2001 From: EndrII <EndrIIMail@gmail.com> Date: Mon, 22 Mar 2021 12:00:41 +0300 Subject: [PATCH] fix defines --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9d6e86..f2a61b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,11 +17,11 @@ include(ViewSolutions/CMake/ccache.cmake) add_subdirectory(ViewSolutions) -if ( NOT DEFINED DISABLE_EXAMPLES ) - set(DISABLE_EXAMPLES OFF) +if ( NOT DEFINED VIEWSOLUTIONS_EXAMPLES ) + set(VIEWSOLUTIONS_EXAMPLES ON) endif() -if ( NOT DISABLE_EXAMPLES ) +if (VIEWSOLUTIONS_EXAMPLES ) message("DISABLE_EXAMPLES = ${DISABLE_EXAMPLES}") add_subdirectory(Examples) endif()