Define the build options before including SfizzConfig
This commit is contained in:
parent
7e0d964606
commit
b27a509aa9
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,6 @@ set (PROJECT_DESCRIPTION "A library to load SFZ description files and use them t
|
|||
# External configuration CMake scripts
|
||||
set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
include (BuildType)
|
||||
include (SfizzConfig)
|
||||
|
||||
# Build Options
|
||||
set (BUILD_TESTING OFF CACHE BOOL "Disable Abseil's tests [default: OFF]")
|
||||
|
|
@ -34,6 +33,8 @@ option (SFIZZ_USE_VCPKG "Assume that sfizz is build using vcpkg [default
|
|||
option (SFIZZ_STATIC_DEPENDENCIES "Link dependencies statically [default: OFF]" OFF)
|
||||
option (SFIZZ_RELEASE_ASSERTS "Forced assertions in release builds [default: OFF]" OFF)
|
||||
|
||||
include (SfizzConfig)
|
||||
|
||||
# Don't use IPO in non Release builds
|
||||
include (CheckIPO)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue