mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
CMake: fix CMake version check on windows (#240)
CMake was telling that my version 3.10.1 is lesser thar 3.4
This commit is contained in:
parent
0ddfd6dccc
commit
a2ed65600b
@ -108,7 +108,7 @@ ENDIF()
|
||||
|
||||
IF( G3_SHARED_LIB )
|
||||
IF( WIN32 )
|
||||
IF(NOT(CMAKE_VERSION LESS 3.4))
|
||||
IF(NOT(${CMAKE_VERSION} VERSION_LESS "3.4"))
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
ELSE()
|
||||
message( FATAL_ERROR "Need CMake version >=3.4 to build shared windows library!" )
|
||||
|
Loading…
Reference in New Issue
Block a user