cmake: minor cleanups (indentation and typos)

This commit is contained in:
Ben Boeckel 2014-10-21 14:24:49 -04:00
parent 799e8b241f
commit 475fe209a8
2 changed files with 15 additions and 15 deletions

View file

@ -52,7 +52,7 @@ elseif (ENV{DEVELOPER_LOCAL_TOOLS} EQUAL 1)
message(STATUS "Found: env DEVELOPER_LOCAL_TOOLS = 1")
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT ON)
else()
message(STATUS "found: env DEVELOPER_LOCAL_TOOLS = 0")
message(STATUS "Found: env DEVELOPER_LOCAL_TOOLS = 0")
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
endif()
@ -92,13 +92,13 @@ else()
endif()
option(STATIC "Link libraries statically" ${DEFAULT_STATIC})
IF(STATIC)
IF(MSVC)
SET(CMAKE_FIND_LIBRARY_SUFFIXES .lib .dll.a .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
ELSE()
SET(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
ENDIF()
ENDIF()
if(STATIC)
if(MSVC)
set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .dll.a .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
else()
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
endif()
endif()
if (UNIX AND NOT APPLE)
# Note that at the time of this writing the -Wstrict-prototypes flag added below will make this fail

0
external/CMakeLists.txt vendored Executable file → Normal file
View file