diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b8530640b9..93e34f45854 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1355,7 +1355,7 @@ elseif(WIN32) ${OPENEXR_LIBPATH}/Imath-2_2.lib ${OPENEXR_LIBPATH}/IlmThread-2_2.lib ) - endif(NOT OPENEXR_FOUND) + endif() endif() if(WITH_IMAGE_TIFF) @@ -1395,10 +1395,10 @@ elseif(WIN32) if(WITH_BOOST) if(WITH_CYCLES_OSL) set(boost_extra_libs wave) - endif(WITH_CYCLES_OSL) + endif() if(WITH_INTERNATIONAL) list(APPEND boost_extra_libs locale) - endif(WITH_INTERNATIONAL) + endif() set(Boost_USE_STATIC_RUNTIME ON) # prefix lib set(Boost_USE_MULTITHREADED ON) # suffix -mt set(Boost_USE_STATIC_LIBS ON) # suffix -s @@ -1525,7 +1525,7 @@ elseif(WIN32) if(WITH_MINGW64) message(STATUS "Compiling for 64 bit with MinGW-w64.") execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) - if (GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9) + if(GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9) set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64_gcc49) else() set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64) |