From 4916b5952b9b20a39ca682b6df8eabfa782e7aaa Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Wed, 18 Jul 2012 20:36:07 +0100 Subject: [PATCH] Fix type in CMake variable. It would be nice if CMake issued warnings in cases like this but it seems that it is currently unable to. --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ce2b426a..42931db0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -17,7 +17,7 @@ MACRO(CREATE_TEST headerfile sourcefile executablename) if(ENABLE_STATIC_LIBRARIES) ADD_DEPENDENCIES(${executablename} PolyVoxCoreStatic PolyVoxUtilStatic) endif() - if(ENABLED_DYNAMIC_LIBRARIES) + if(ENABLE_DYNAMIC_LIBRARIES) ADD_DEPENDENCIES(${executablename} PolyVoxCoreDynamic PolyVoxUtilDynamic) endif() ENDMACRO(CREATE_TEST)