diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-30 04:58:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-30 04:59:36 +0300 |
commit | e8daf2e3ea17c2e9569e6fc9b49879c74d9a8c22 (patch) | |
tree | 4c37348d66843bcd4a4a02372af0bf323c22c4fb /build_files/cmake/platform/platform_win32.cmake | |
parent | 475ec5269ae8f7c30795c2e771100e087b5dd315 (diff) |
CMake: cleanup
Diffstat (limited to 'build_files/cmake/platform/platform_win32.cmake')
-rw-r--r-- | build_files/cmake/platform/platform_win32.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index dbe3688d671..094ab94d881 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -35,14 +35,14 @@ macro(warn_hardcoded_paths package_name ) if(WITH_WINDOWS_FIND_MODULES) message(WARNING "Using HARDCODED ${package_name} locations") - endif(WITH_WINDOWS_FIND_MODULES) + endif() endmacro() macro(windows_find_package package_name ) if(WITH_WINDOWS_FIND_MODULES) find_package(${package_name}) - endif(WITH_WINDOWS_FIND_MODULES) + endif() endmacro() macro(find_package_wrapper) @@ -338,9 +338,9 @@ if(WITH_BOOST) set(Boost_USE_STATIC_RUNTIME ON) # prefix lib set(Boost_USE_MULTITHREADED ON) # suffix -mt set(Boost_USE_STATIC_LIBS ON) # suffix -s - if (WITH_WINDOWS_FIND_MODULES) + if(WITH_WINDOWS_FIND_MODULES) find_package(Boost COMPONENTS date_time filesystem thread regex system ${boost_extra_libs}) - endif (WITH_WINDOWS_FIND_MODULES) + endif() if(NOT Boost_FOUND) warn_hardcoded_paths(BOOST) set(BOOST ${LIBDIR}/boost) |