edits to make these cmake files compatible with my own basic cmake parser which checks for correctness in our files.
This commit is contained in:
parent
c6f3fabd16
commit
a440679c57
@ -88,8 +88,12 @@ set(SRC
|
||||
|
||||
if(WITH_MOD_BOOLEAN)
|
||||
add_definitions(-DWITH_MOD_BOOLEAN)
|
||||
list(APPEND SRC intern/MOD_boolean_util.c)
|
||||
list(APPEND INC ../../../intern/bsp/extern)
|
||||
list(APPEND SRC
|
||||
intern/MOD_boolean_util.c
|
||||
)
|
||||
list(APPEND INC
|
||||
../../../intern/bsp/extern
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WITH_MOD_DECIMATE)
|
||||
|
@ -115,7 +115,9 @@ endif()
|
||||
|
||||
if(APPLE)
|
||||
if(NOT WITH_COCOA)
|
||||
list(APPEND SRC intern/wm_apple.c)
|
||||
list(APPEND SRC
|
||||
intern/wm_apple.c
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -46,7 +46,9 @@ set(SRC
|
||||
)
|
||||
|
||||
if(WITH_BUILDINFO)
|
||||
list(APPEND SRC ../../creator/buildinfo.c)
|
||||
list(APPEND SRC
|
||||
../../creator/buildinfo.c
|
||||
)
|
||||
add_definitions(-DBUILD_DATE)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user