]> git.mxchange.org Git - simgear.git/blobdiff - CMakeModules/SimGearComponent.cmake
Merge remote branch 'gitorious/next' into next
[simgear.git] / CMakeModules / SimGearComponent.cmake
index 15055628dbb7251cdadb1ef1a01bf6330afd1c11..3eb5740acc5937d4b2ab1600e08a3419d817bc9e 100644 (file)
@@ -1,7 +1,7 @@
 
 macro(simgear_component name includePath sources headers)
 
-    if (${SIMGEAR_SHARED})
+    if (SIMGEAR_SHARED)
         foreach(s ${sources})
             set_property(GLOBAL
                 APPEND PROPERTY ALL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${s}")