Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-06-19 15:26:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-19 15:26:11 +0400
commit15016873ab74634cf0a1cde0adab8f981ce9e117 (patch)
tree5d5e84fd0315a5f9bb6f1c5f4623b4d09c437ceb /CMakeLists.txt
parentc63c6e445241557a7baa4f6c22e5b83a23c4818a (diff)
dont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16d00dd4b54..e2dda8553d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -562,12 +562,12 @@ set(PLATFORM_LINKFLAGS_DEBUG "")
if(UNIX AND NOT APPLE)
macro(find_package_wrapper)
string(TOUPPER ${ARGV0} _NAME_UPPER)
- if(${WITH_STATIC_LIBS})
+ if(WITH_STATIC_LIBS)
set(_cmake_find_library_suffixes_back ${CMAKE_FIND_LIBRARY_SUFFIXES})
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
endif()
find_package(${ARGV})
- if(${WITH_STATIC_LIBS})
+ if(WITH_STATIC_LIBS)
set(CMAKE_FIND_LIBRARY_SUFFIXES ${_cmake_find_library_suffixes_back})
unset(_cmake_find_library_suffixes_back)
endif()
@@ -707,7 +707,7 @@ if(UNIX AND NOT APPLE)
if(WITH_BOOST)
# uses in build instructions to override include and library variables
if(NOT BOOST_CUSTOM)
- if(${WITH_STATIC_LIBS})
+ if(WITH_STATIC_LIBS)
set(Boost_USE_STATIC_LIBS ON)
endif()
set(Boost_USE_MULTITHREADED ON)