We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad5eb2 commit 755fd68Copy full SHA for 755fd68
1 file changed
CMakeLists.txt
@@ -294,14 +294,14 @@ if(SDL2MIXER_CMD)
294
target_compile_definitions(SDL2_mixer PRIVATE MUSIC_CMD)
295
set(fork_found OFF)
296
if(NOT fork_found)
297
- check_symbol_exists(fork sys/unistd.h HAVE_FORK)
+ check_symbol_exists(fork unistd.h HAVE_FORK)
298
if(HAVE_FORK)
299
set(fork_found ON)
300
target_compile_definitions(SDL2_mixer PRIVATE HAVE_FORK)
301
endif()
302
303
304
- check_symbol_exists(fork sys/unistd.h HAVE_VFORK)
+ check_symbol_exists(fork unistd.h HAVE_VFORK)
305
if(HAVE_VFORK)
306
307
target_compile_definitions(SDL2_mixer PRIVATE HAVE_VFORK)
0 commit comments