mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-02 17:12:15 +00:00
fix build for cmake < 3.3
CMP0063 hasnt been introduced yet
This commit is contained in:
parent
f4b88fc747
commit
457edfcdda
1 changed files with 4 additions and 2 deletions
|
@ -116,9 +116,11 @@ set ( CMAKE_POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS} )
|
||||||
if ( NOT OS2 )
|
if ( NOT OS2 )
|
||||||
set ( CMAKE_C_VISIBILITY_PRESET hidden )
|
set ( CMAKE_C_VISIBILITY_PRESET hidden )
|
||||||
endif ( NOT OS2 )
|
endif ( NOT OS2 )
|
||||||
# enforce visibility control for all types of cmake targets
|
|
||||||
cmake_policy ( SET CMP0063 NEW )
|
|
||||||
|
|
||||||
|
# enforce visibility control for all types of cmake targets
|
||||||
|
if ( POLICY CMP0063 )
|
||||||
|
cmake_policy ( SET CMP0063 NEW )
|
||||||
|
endif ( POLICY CMP0063 )
|
||||||
|
|
||||||
# Default install directory names
|
# Default install directory names
|
||||||
include ( DefaultDirs )
|
include ( DefaultDirs )
|
||||||
|
|
Loading…
Reference in a new issue