diff options
Diffstat (limited to 'source/frontend')
-rw-r--r-- | source/frontend/CMakeLists.txt | 5 | ||||
-rw-r--r-- | source/frontend/StarVoice.cpp | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source/frontend/CMakeLists.txt b/source/frontend/CMakeLists.txt index c213b72..cae2d43 100644 --- a/source/frontend/CMakeLists.txt +++ b/source/frontend/CMakeLists.txt @@ -113,4 +113,7 @@ SET (star_frontend_SOURCES ) ADD_LIBRARY (star_frontend OBJECT ${star_frontend_SOURCES} ${star_frontend_HEADERS}) -TARGET_PRECOMPILE_HEADERS (star_frontend REUSE_FROM star_core)
\ No newline at end of file + +IF(STAR_PRECOMPILED_HEADERS) + TARGET_PRECOMPILE_HEADERS (star_frontend REUSE_FROM star_core) +ENDIF()
\ No newline at end of file diff --git a/source/frontend/StarVoice.cpp b/source/frontend/StarVoice.cpp index 752a7b4..b2c4695 100644 --- a/source/frontend/StarVoice.cpp +++ b/source/frontend/StarVoice.cpp @@ -6,9 +6,9 @@ #include "StarRoot.hpp" #include "StarLogging.hpp" #include "StarInterpolation.hpp" -#include "opus/include/opus.h" +#include "opus/opus.h" -#include "SDL.h" +#include "SDL2/SDL.h" constexpr int VOICE_SAMPLE_RATE = 48000; constexpr int VOICE_FRAME_SIZE = 960; |