diff --git a/CMakeLists.txt b/CMakeLists.txt index 79adfbb..89c6703 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,3 +21,14 @@ endif() #------------------------------------------------------------------------------------------- add_definitions(-D_CHAR16T) +if (NOT EABASE_BUILD_TESTS) + #------------------------------------------------------------------------------------------- + # Header only library + #------------------------------------------------------------------------------------------- + add_library(EABase INTERFACE) + + #------------------------------------------------------------------------------------------- + # Include dirs + #------------------------------------------------------------------------------------------- + target_include_directories(EABase INTERFACE include/Common) +endif()