diff options
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index a30cbebb539..a827c7879e1 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../makesdna ../blenkernel @@ -35,7 +35,7 @@ SET(INC ${FREETYPE_INCLUDE_DIRS} ) -SET(SRC +set(SRC intern/BLI_args.c intern/BLI_dynstr.c intern/BLI_ghash.c @@ -131,12 +131,12 @@ SET(SRC intern/dynamiclist.h ) -IF(CMAKE_SYSTEM_NAME MATCHES "Linux") - LIST(APPEND INC "${BINRELOC_INC}") -ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") +if(CMAKE_SYSTEM_NAME MATCHES "Linux") + list(APPEND INC "${BINRELOC_INC}") +endif() -IF(WITH_OPENMP) - ADD_DEFINITIONS(-DPARALLEL=1) -ENDIF(WITH_OPENMP) +if(WITH_OPENMP) + add_definitions(-DPARALLEL=1) +endif() -BLENDERLIB(bf_blenlib "${SRC}" "${INC}") +blenderlib(bf_blenlib "${SRC}" "${INC}") |