diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b28397..e86cd95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -27,6 +27,7 @@ find_package(GLEW REQUIRED) | |||
27 | find_package(GLFW REQUIRED) | 27 | find_package(GLFW REQUIRED) |
28 | find_package(portaudio REQUIRED) | 28 | find_package(portaudio REQUIRED) |
29 | find_package(libsndfile REQUIRED) | 29 | find_package(libsndfile REQUIRED) |
30 | find_package(libxml2 REQUIRED) | ||
30 | 31 | ||
31 | set(ALL_LIBS | 32 | set(ALL_LIBS |
32 | ${OPENGL_LIBRARY} | 33 | ${OPENGL_LIBRARY} |
@@ -34,10 +35,15 @@ set(ALL_LIBS | |||
34 | ${GLFW_LIBRARY} | 35 | ${GLFW_LIBRARY} |
35 | ${PORTAUDIO_LIBRARIES} | 36 | ${PORTAUDIO_LIBRARIES} |
36 | ${LIBSNDFILE_LIBRARY} | 37 | ${LIBSNDFILE_LIBRARY} |
38 | ${LIBXML2_LIBRARIES} | ||
39 | ) | ||
40 | |||
41 | include_directories( | ||
42 | ${LIBXML2_INCLUDE_DIR} | ||
37 | ) | 43 | ) |
38 | 44 | ||
39 | # include_directories(${SDL2_INCLUDE_DIR}) | 45 | # include_directories(${SDL2_INCLUDE_DIR}) |
40 | set(CMAKE_BUILD_TYPE Debug) | 46 | set(CMAKE_BUILD_TYPE Debug) |
41 | add_executable(Aromatherapy src/main.cpp src/map.cpp src/renderer.cpp src/entity.cpp src/components.cpp src/game.cpp src/muxer.cpp) | 47 | add_executable(Aromatherapy src/main.cpp src/map.cpp src/renderer.cpp src/entity.cpp src/components.cpp src/game.cpp src/muxer.cpp src/entityfactory.cpp) |
42 | target_link_libraries(Aromatherapy ${ALL_LIBS}) | 48 | target_link_libraries(Aromatherapy ${ALL_LIBS}) |
43 | install(TARGETS Aromatherapy RUNTIME DESTINATION ${BIN_DIR}) | 49 | install(TARGETS Aromatherapy RUNTIME DESTINATION ${BIN_DIR}) |