We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7b51e commit d79dd58Copy full SHA for d79dd58
1 file changed
CMakeLists.txt
@@ -107,14 +107,6 @@ else()
107
add_executable(wwhd_rando main.cpp)
108
endif()
109
110
-if(GET_THREADS)
111
- find_package(Threads REQUIRED)
112
-
113
- if(CMAKE_USE_PTHREADS_INIT)
114
- target_link_libraries(wwhd_rando PRIVATE Threads::Threads)
115
- endif()
116
-endif()
117
118
target_sources(wwhd_rando PRIVATE "randomizer.cpp" "options.cpp" "tweaks.cpp" "text_replacements.cpp")
119
add_subdirectory("libs")
120
add_subdirectory("utility")
@@ -148,4 +140,7 @@ if(DEFINED DEVKITPRO)
148
140
#TVSPLASH "${CMAKE_SOURCE_DIR}/platform/Splash.png"
149
141
#DRCSPLASH "${CMAKE_SOURCE_DIR}/platform/Splash.png"
150
142
)
143
+else()
144
+ find_package(Threads REQUIRED)
145
+ target_link_libraries(wwhd_rando PRIVATE Threads::Threads)
151
146
0 commit comments