diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c1bc09cb..6114de20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1216,7 +1216,7 @@ CONFIGURE_FILE( ADD_LIBRARY(common STATIC EXCLUDE_FROM_ALL ${COMMON_OBJS}) TARGET_COMPILE_OPTIONS(common PRIVATE ${C_FLAGS}) -TARGET_INCLUDE_DIRECTORIES(common PRIVATE ${OpenAL_BINARY_DIR}) +TARGET_INCLUDE_DIRECTORIES(common PRIVATE ${OpenAL_BINARY_DIR} ${OpenAL_SOURCE_DIR}/include) SET_TARGET_PROPERTIES(common PROPERTIES POSITION_INDEPENDENT_CODE TRUE) |