From f6cc75de87f97e8d947cd44f034ae45fada78159 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 30 Apr 2021 01:55:08 -0700 Subject: [PATCH] Fixes SDL2 interface check...again. --- Source/Tools/FEXConfig/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Tools/FEXConfig/CMakeLists.txt b/Source/Tools/FEXConfig/CMakeLists.txt index 0ebaa932b..d7c90d0b6 100644 --- a/Source/Tools/FEXConfig/CMakeLists.txt +++ b/Source/Tools/FEXConfig/CMakeLists.txt @@ -17,7 +17,7 @@ target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/Source/Tools/Debu target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/External/imgui/examples/) -if (TARGET SDL2) +if (TARGET SDL2::SDL2) target_link_libraries(${NAME} PRIVATE SDL2::SDL2) else() target_include_directories(${NAME} PRIVATE ${SDL2_INCLUDE_DIRS})