From 7f1bb02a26219fdf454ddef056c9f9d62b91a2fa Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 14 Mar 2016 22:29:55 +0100 Subject: [PATCH] Invert when static and dynamic lib messages appears --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9fc72b0..12d8abbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,12 +17,12 @@ enable_testing() add_definitions(-D_CRT_SECURE_NO_WARNINGS) option(GLM_STATIC_LIBRARY_ENABLE "GLM static library" OFF) -if(NOT GLM_STATIC_LIBRARY_ENABLE) +if(GLM_STATIC_LIBRARY_ENABLE) message(STATUS "GLM is a header only library, no need to build it. Set the option GLM_STATIC_LIBRARY_ENABLE with ON to build an optional static library") endif() option(GLM_DYNAMIC_LIBRARY_ENABLE "GLM static library" OFF) -if(NOT GLM_DYNAMIC_LIBRARY_ENABLE) +if(GLM_DYNAMIC_LIBRARY_ENABLE) message(STATUS "GLM is a header only library, no need to build it. Set the option GLM_DYNAMIC_LIBRARY_ENABLE with ON to build an optional dynamic library") endif()