aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Velho <pedro.velho@activeeon.com>2018-12-27 16:25:30 +0100
committerPedro Velho <pedro.velho@activeeon.com>2018-12-27 16:25:30 +0100
commitd638096a1b61bbe42cd4dfbcf33ad18bb7cea5c6 (patch)
tree95978f96ed520b44b65ff4ccf91971745a37ffb3
parent7a949ddd0e019147f7ea34b6dfca9ac0a9a4807e (diff)
Solve cmake error while importing SDL2.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index caddb8a..08184b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,6 +172,7 @@ endif (UNIX)
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIR})
+string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
link_libraries(${SDL2_LIBRARIES})
add_executable(${PROJECT_WX} ${SOURCES})