diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 04ca668..fbc843c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -16,6 +16,7 @@ find_package(GLEW REQUIRED) | |||
16 | find_package(portaudio REQUIRED) | 16 | find_package(portaudio REQUIRED) |
17 | find_package(libsndfile REQUIRED) | 17 | find_package(libsndfile REQUIRED) |
18 | find_package(libxml2 REQUIRED) | 18 | find_package(libxml2 REQUIRED) |
19 | find_package(lua REQUIRED) | ||
19 | 20 | ||
20 | IF(APPLE) | 21 | IF(APPLE) |
21 | FIND_LIBRARY(COCOA_LIBRARY Cocoa) | 22 | FIND_LIBRARY(COCOA_LIBRARY Cocoa) |
@@ -32,6 +33,7 @@ set(ALL_LIBS | |||
32 | ${PORTAUDIO_LIBRARIES} | 33 | ${PORTAUDIO_LIBRARIES} |
33 | ${LIBSNDFILE_LIBRARY} | 34 | ${LIBSNDFILE_LIBRARY} |
34 | ${LIBXML2_LIBRARIES} | 35 | ${LIBXML2_LIBRARIES} |
36 | ${LUA_LIBRARIES} | ||
35 | ${EXTRA_LIBS} | 37 | ${EXTRA_LIBS} |
36 | ) | 38 | ) |
37 | 39 | ||
@@ -40,6 +42,7 @@ include_directories( | |||
40 | ${GLFW_INCLUDE_DIRS} | 42 | ${GLFW_INCLUDE_DIRS} |
41 | ${OPENGL_INCLUDE_DIRS} | 43 | ${OPENGL_INCLUDE_DIRS} |
42 | ${GLEW_INCLUDE_DIRS} | 44 | ${GLEW_INCLUDE_DIRS} |
45 | ${LUA_INCLUDE_DIRS} | ||
43 | src | 46 | src |
44 | vendor | 47 | vendor |
45 | ) | 48 | ) |
@@ -71,6 +74,6 @@ add_executable(Aromatherapy | |||
71 | vendor/stb_image.cpp | 74 | vendor/stb_image.cpp |
72 | ) | 75 | ) |
73 | 76 | ||
74 | set_property(TARGET Aromatherapy PROPERTY CXX_STANDARD 11) | 77 | set_property(TARGET Aromatherapy PROPERTY CXX_STANDARD 17) |
75 | set_property(TARGET Aromatherapy PROPERTY CXX_STANDARD_REQUIRED ON) | 78 | set_property(TARGET Aromatherapy PROPERTY CXX_STANDARD_REQUIRED ON) |
76 | target_link_libraries(Aromatherapy ${ALL_LIBS}) | 79 | target_link_libraries(Aromatherapy ${ALL_LIBS}) |