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)