Skip to content

Commit

Permalink
Merge branch 'master' of github.com:leonardo2d/KiWi
Browse files Browse the repository at this point in the history
  • Loading branch information
mobius3 committed Nov 13, 2014
2 parents 9e4f38e + d2ee466 commit d6347fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set(SDL2_BUILDING_LIBRARY TRUE)
find_package(SDL2 REQUIRED)
find_package(SDL2_ttf REQUIRED)
find_package(SDL2_image REQUIRED)

set(API_HEADERS
KW_gui.h
Expand Down Expand Up @@ -38,7 +39,7 @@ set(LIB_SOURCES

include_directories(${SDL2_INCLUDE_DIR})
add_library(KiWi SHARED ${LIB_SOURCES} ${API_HEADERS})
target_link_libraries(KiWi ${SDL2_LIBRARIES} ${SDL2_TTF_LIBRARIES})
target_link_libraries(KiWi ${SDL2_LIBRARIES} ${SDL2_TTF_LIBRARIES} ${SDL2_IMAGE_LIBRARIES})

# Configure install stuff
install(TARGETS KiWi EXPORT KiWiTargets
Expand Down

0 comments on commit d6347fc

Please sign in to comment.