mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-25 14:23:04 +00:00
Avoid passing irrelevant flags to our deps
This commit is contained in:
@@ -84,11 +84,6 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories("include")
|
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
||||||
|
|
||||||
message(CHECK_START "Checking if LTO is supported")
|
message(CHECK_START "Checking if LTO is supported")
|
||||||
include(CheckIPOSupported)
|
include(CheckIPOSupported)
|
||||||
check_ipo_supported(RESULT enable_lto)
|
check_ipo_supported(RESULT enable_lto)
|
||||||
@@ -157,6 +152,12 @@ if(NOT TARGET PNG::PNG)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
## The actual stuff.
|
## The actual stuff.
|
||||||
|
# Any compiler options that shouldn't apply to our dependencies go here.
|
||||||
|
|
||||||
|
include_directories("include")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
|||||||
Reference in New Issue
Block a user