Cleanup: style
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#
|
||||
# ***** END GPL LICENSE BLOCK *****
|
||||
|
||||
if (UNIX)
|
||||
if(UNIX)
|
||||
set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV} && export HAVE_PDFLATEX=no)
|
||||
else()
|
||||
set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV})
|
||||
|
6
extern/quadriflow/CMakeLists.txt
vendored
6
extern/quadriflow/CMakeLists.txt
vendored
@@ -31,7 +31,7 @@ endif()
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if (WIN32)
|
||||
if(WIN32)
|
||||
add_definitions(-D_USE_MATH_DEFINES)
|
||||
endif()
|
||||
|
||||
@@ -46,7 +46,7 @@ set(LEMON_GEN_DIR ${CMAKE_BINARY_DIR}/extern/quadriflow/${LEMON_3RD_PATH})
|
||||
configure_file(
|
||||
${LEMON_SRC}/config.h.in
|
||||
${LEMON_GEN_DIR}/lemon/config.h
|
||||
)
|
||||
)
|
||||
set(LEMON_SOURCES
|
||||
${LEMON_SRC}/arg_parser.cc
|
||||
${LEMON_SRC}/base.cc
|
||||
@@ -55,7 +55,7 @@ set(LEMON_SOURCES
|
||||
${LEMON_SRC}/lp_skeleton.cc
|
||||
${LEMON_SRC}/random.cc
|
||||
${LEMON_SRC}/bits/windows.cc
|
||||
)
|
||||
)
|
||||
|
||||
set(INC
|
||||
src
|
||||
|
@@ -127,7 +127,7 @@ add_library(glewmx_lib ${SRC_NEW})
|
||||
# grr, blenfont needs BLI
|
||||
include_directories(
|
||||
"../../../source/blender/blenlib"
|
||||
)
|
||||
)
|
||||
add_library(bli_lib
|
||||
"../../../source/blender/blenlib/intern/fileops.c"
|
||||
"../../../source/blender/blenlib/intern/gsqueue.c"
|
||||
@@ -146,7 +146,7 @@ add_library(bli_lib
|
||||
"../../../source/blender/blenlib/intern/BLI_memarena.c"
|
||||
"../../../source/blender/blenlib/intern/BLI_mempool.c"
|
||||
"../../../source/blender/blenlib/intern/system.c"
|
||||
)
|
||||
)
|
||||
|
||||
set(PLATFORM_CGLAGS)
|
||||
|
||||
|
@@ -38,7 +38,7 @@ set(LIB
|
||||
extern_quadriflow
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
if(WIN32)
|
||||
add_definitions(-D_USE_MATH_DEFINES)
|
||||
endif()
|
||||
|
||||
|
@@ -854,7 +854,7 @@ elseif(WIN32)
|
||||
)
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
if (NOT WITH_PYTHON_MODULE)
|
||||
if(NOT WITH_PYTHON_MODULE)
|
||||
# Uppercase name for app bundle
|
||||
set_target_properties(blender PROPERTIES OUTPUT_NAME Blender)
|
||||
endif()
|
||||
@@ -1042,7 +1042,7 @@ setup_liblinks(blender)
|
||||
# vcpkg substitutes our libs with theirs, which will cause issues when you
|
||||
# you run these builds on other systems due to missing dlls. So we opt out
|
||||
# the use of vcpkg
|
||||
if (WIN32)
|
||||
if(WIN32)
|
||||
set_target_properties(blender PROPERTIES VS_GLOBAL_VcpkgEnabled "false")
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user