Browse Source

CMake: include

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
pull/3000/head
Caio Oliveira 3 months ago
parent
commit
a4fbb024e8
No known key found for this signature in database GPG Key ID: 362DA3DC1901E080
  1. 3
      CMakeLists.txt
  2. 0
      CMakeModules/DisableCCacheForPackage.cmake
  3. 1
      externals/CMakeLists.txt

3
CMakeLists.txt

@ -173,7 +173,8 @@ if (YUZU_STATIC_BUILD)
endif()
endif()
# This will be used for CI packages, cause we need to build symbols
# This will mostly be used for CI packages, cause we need to build symbols
include(DisableCCacheForPackage)
set(IS_DEBUG_BUILD OFF)
if (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo")
set(IS_DEBUG_BUILD ON)

0
CMakeModules/DisableCCachePackage.cmake → CMakeModules/DisableCCacheForPackage.cmake

1
externals/CMakeLists.txt

@ -8,6 +8,7 @@
# otherwise we have to do weird shenanigans with library linking and stuff
include(CPMUtil)
include(DisableCCacheForPackage)
# Explicitly declare this option here to propagate to the oaknut CPM call
option(DYNARMIC_TESTS "Build tests" ${BUILD_TESTING})

Loading…
Cancel
Save