diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2022-09-16 17:14:51 (GMT) |
---|---|---|
committer | Matthew Woehlke <matthew.woehlke@kitware.com> | 2022-09-16 17:14:51 (GMT) |
commit | d00d8537f6c52997f41535634c110116900e95c9 (patch) | |
tree | 182ce36bcfb35434f4f42302fd6077e6930835a8 /Modules/FindSDL_sound.cmake | |
parent | 343685869716b2ac31876d3e4173ece46ea49efc (diff) | |
download | CMake-d00d8537f6c52997f41535634c110116900e95c9.zip CMake-d00d8537f6c52997f41535634c110116900e95c9.tar.gz CMake-d00d8537f6c52997f41535634c110116900e95c9.tar.bz2 |
Modules: Use new keyword-dispatched try_compile signature
Modify modules that ship with CMake and use the project flavor of
try_compile to use the new signature added by commit 56ae40cc59
(try_compile: Add PROJECT keyword-dispatched signature, 2022-09-14).
Diffstat (limited to 'Modules/FindSDL_sound.cmake')
-rw-r--r-- | Modules/FindSDL_sound.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake index 6807522..d863e3c 100644 --- a/Modules/FindSDL_sound.cmake +++ b/Modules/FindSDL_sound.cmake @@ -185,9 +185,9 @@ if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY) try_compile( MY_RESULT - ${PROJECT_BINARY_DIR}/CMakeTmp - ${PROJECT_BINARY_DIR}/CMakeTmp - DetermineSoundLibs + PROJECT DetermineSoundLibs + SOURCE_DIR ${PROJECT_BINARY_DIR}/CMakeTmp + BINARY_DIR ${PROJECT_BINARY_DIR}/CMakeTmp OUTPUT_VARIABLE MY_OUTPUT ) |