diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
commit | afacd184982e58a9c830a3d5366e25983939a7ba (patch) | |
tree | 311ee6e5abfcda32e3cbad133276512d68abe25b /extern/CMakeLists.txt | |
parent | 70df57df0f82be3966a09c8548bfde23fd5c17c4 (diff) |
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
Diffstat (limited to 'extern/CMakeLists.txt')
-rw-r--r-- | extern/CMakeLists.txt | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 72a290d4e10..cdbfa3e0dff 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -25,30 +25,30 @@ # ***** END GPL LICENSE BLOCK ***** # Otherwise we get warnings here that we cant fix in external projects -REMOVE_STRICT_FLAGS() +remove_strict_flags() -IF(WITH_BULLET) - ADD_SUBDIRECTORY(bullet2) -ENDIF(WITH_BULLET) +if(WITH_BULLET) + add_subdirectory(bullet2) +endif() -IF(CMAKE_SYSTEM_NAME MATCHES "Linux") - ADD_SUBDIRECTORY(binreloc) -ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") +if(CMAKE_SYSTEM_NAME MATCHES "Linux") + add_subdirectory(binreloc) +endif() -ADD_SUBDIRECTORY(glew) +add_subdirectory(glew) -IF(WITH_IMAGE_OPENJPEG) - ADD_SUBDIRECTORY(libopenjpeg) -ENDIF(WITH_IMAGE_OPENJPEG) +if(WITH_IMAGE_OPENJPEG) + add_subdirectory(libopenjpeg) +endif() -IF(WITH_IMAGE_REDCODE) - ADD_SUBDIRECTORY(libredcode) -ENDIF(WITH_IMAGE_REDCODE) +if(WITH_IMAGE_REDCODE) + add_subdirectory(libredcode) +endif() -IF(WITH_LZO) - ADD_SUBDIRECTORY(lzo) -ENDIF(WITH_LZO) +if(WITH_LZO) + add_subdirectory(lzo) +endif() -IF(WITH_LZMA) - ADD_SUBDIRECTORY(lzma) -ENDIF(WITH_LZMA) +if(WITH_LZMA) + add_subdirectory(lzma) +endif() |