From 602153ad9825b82702c4a627169a51af895a3d54 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 5 May 2018 18:35:08 -0700 Subject: [PATCH] Fix standalone compile failure --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d92e57a..aa36649 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ set(ATHENA_MINOR_VERSION 3) set(ATHENA_PATCH_VERSION 0) set(ATHENA_VERSION ${ATHENA_MAJOR_VERSION}.${ATHENA_MINOR_VERSION}.${ATHENA_PATCH_VERSION}) +set(ATHENA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include) ################ # Athena Build # @@ -21,7 +22,7 @@ set(ATHENA_VERSION add_subdirectory(extern) -include_directories(include ${LZO_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) +include_directories(${ATHENA_INCLUDE_DIR} ${LZO_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) if(WIN32) list(APPEND CORE_EXTRA src/win32_largefilewrapper.c include/win32_largefilewrapper.h