update CMakeLists.txt for CMake 3.5
This commit is contained in:
parent
cb63314f53
commit
7b73991c12
|
@ -970,7 +970,7 @@ if (PKG_CONFIG_FOUND AND (SYSTEM_FMT OR SYSTEM_LIBSNDFILE OR SYSTEM_ZLIB OR SYST
|
|||
endif()
|
||||
|
||||
# why 3.16..... why not 3.0?
|
||||
if (CMAKE_MAJOR_VERSION GREATER_EQUAL 3 AND CMAKE_MINOR_VERSION GREATER_EQUAL 16)
|
||||
if (NOT "${CMAKE_VERSION}" VERSION_LESS "3.16")
|
||||
if (BUILD_GUI)
|
||||
target_precompile_headers(furnace PUBLIC
|
||||
$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/src/pch.h>
|
||||
|
|
Loading…
Reference in a new issue