mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-30 18:20:30 +00:00
Move ENABLE_ options to ConfigureFeatures.cmake
This commit is contained in:
parent
ecdef6c330
commit
84101548f6
@ -81,7 +81,6 @@ FetchContent_GetProperties(libretro-common)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${FETCHCONTENT_BASE_DIR}/melonds-src/cmake" "${CMAKE_MODULE_PATH}")
|
||||
FetchContent_MakeAvailable(melonDS libretro-common)
|
||||
|
||||
option(ENABLE_THREADS "Build with thread support, if supported by the target." ON)
|
||||
|
||||
include(cmake/ConfigureFeatures.cmake)
|
||||
include(cmake/libretro-common.cmake)
|
||||
|
@ -1,6 +1,10 @@
|
||||
# Detects the presence of various libraries or functions and sets the appropriate HAVE_* variables.
|
||||
# Other files are used to actually configure the build.
|
||||
|
||||
option(ENABLE_EGL "Build with EGL support, if supported by the target." OFF)
|
||||
option(ENABLE_THREADS "Build with thread support, if supported by the target." ON)
|
||||
option(ENABLE_ZLIB "Build with zlib support, if supported by the target." ON)
|
||||
|
||||
if (ENABLE_THREADS)
|
||||
find_package(Threads)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user