diff options
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index a043dbad3b8..c13abb862b7 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -24,13 +24,13 @@ # # ***** END GPL LICENSE BLOCK ***** -ADD_SUBDIRECTORY(blender) +add_subdirectory(blender) -IF(WITH_GAMEENGINE) - ADD_SUBDIRECTORY(kernel) - ADD_SUBDIRECTORY(gameengine) -ENDIF(WITH_GAMEENGINE) +if(WITH_GAMEENGINE) + add_subdirectory(kernel) + add_subdirectory(gameengine) +endif() -IF(WINDOWS) - ADD_SUBDIRECTORY(icons) -ENDIF(WINDOWS) +if(WINDOWS) + add_subdirectory(icons) +endif() |