mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Solve cmake error while importing SDL2.
This commit is contained in:
@ -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})
|
||||
|
Reference in New Issue
Block a user