From 4d4367fc3c8f0a459aaa78f9251088a352627379 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Mon, 17 Dec 2018 02:00:24 +0300 Subject: Fixed C++98 and C90 warnings, also CLang rpath warning --- examples/sdl2_audio/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/sdl2_audio') diff --git a/examples/sdl2_audio/CMakeLists.txt b/examples/sdl2_audio/CMakeLists.txt index 4e0a76b..e1f797a 100644 --- a/examples/sdl2_audio/CMakeLists.txt +++ b/examples/sdl2_audio/CMakeLists.txt @@ -13,7 +13,7 @@ if(NOT WIN32) endif() if(TARGET ADLMIDI_shared) - set_target_properties(adlmidi_sdl2_demo PROPERTIES COMPILE_FLAGS "-Wl,-rpath='$$ORIGIN/../lib'") + set_target_properties(adlmidi_sdl2_demo PROPERTIES INSTALL_RPATH "$ORIGIN/../lib") endif() install(TARGETS adlmidi_sdl2_demo -- cgit v1.2.3