Skip to content

Commit

Permalink
Fixed cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Nax committed Nov 16, 2014
1 parent 3a4c8f6 commit 9bb37a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -12,7 +12,9 @@ if (APPLE)
endif()
include_directories("include")
include_directories(${SDL2_INCLUDE} SYSTEM)
add_library(Lums ${SRC})
add_library(Lums SHARED ${SRC})
add_library(Lums_static STATIC ${SRC})
set_target_properties(Lums_static PROPERTIES OUTPUT_NAME Lums)
target_link_libraries(Lums ${OPENGL_gl_LIBRARY} ${SDL2_LIBRARY} ${SDLIMAGE_LIBRARY})
install(TARGETS Lums DESTINATION lib)
install(DIRECTORY include/Lums DESTINATION include)

0 comments on commit 9bb37a8

Please sign in to comment.