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 /intern/smoke | |
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 'intern/smoke')
-rw-r--r-- | intern/smoke/CMakeLists.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/intern/smoke/CMakeLists.txt b/intern/smoke/CMakeLists.txt index 1944ee51054..3505cd2c05d 100644 --- a/intern/smoke/CMakeLists.txt +++ b/intern/smoke/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC intern ../memutil ../../extern/bullet2/src @@ -32,7 +32,7 @@ SET(INC ${ZLIB_INC} ) -SET(SRC +set(SRC intern/EIGENVALUE_HELPER.cpp intern/FLUID_3D.cpp intern/FLUID_3D_SOLVERS.cpp @@ -80,14 +80,14 @@ SET(SRC intern/tnt/tnt_version.h ) -IF(WITH_OPENMP) - ADD_DEFINITIONS(-DPARALLEL=1) -ENDIF(WITH_OPENMP) +if(WITH_OPENMP) + add_definitions(-DPARALLEL=1) +endif() -IF(WITH_FFTW3) - ADD_DEFINITIONS(-DFFTW3=1) - LIST(APPEND INC ${FFTW3_INC}) -ENDIF(WITH_FFTW3) +if(WITH_FFTW3) + add_definitions(-DFFTW3=1) + list(APPEND INC ${FFTW3_INC}) +endif() -BLENDERLIB(bf_intern_smoke "${SRC}" "${INC}") +blenderlib(bf_intern_smoke "${SRC}" "${INC}") |