|
@@ -21,12 +21,14 @@ endif()
|
|
|
#-------------------------------------------------------------------------------------------
|
|
#-------------------------------------------------------------------------------------------
|
|
|
add_definitions(-D_CHAR16T)
|
|
add_definitions(-D_CHAR16T)
|
|
|
|
|
|
|
|
-#-------------------------------------------------------------------------------------------
|
|
|
|
|
-# Header only library
|
|
|
|
|
-#-------------------------------------------------------------------------------------------
|
|
|
|
|
-add_library(EABase INTERFACE)
|
|
|
|
|
|
|
+if (NOT EABASE_BUILD_TESTS)
|
|
|
|
|
+ #-------------------------------------------------------------------------------------------
|
|
|
|
|
+ # Header only library
|
|
|
|
|
+ #-------------------------------------------------------------------------------------------
|
|
|
|
|
+ add_library(EABase INTERFACE)
|
|
|
|
|
|
|
|
-#-------------------------------------------------------------------------------------------
|
|
|
|
|
-# Include dirs
|
|
|
|
|
-#-------------------------------------------------------------------------------------------
|
|
|
|
|
-target_include_directories(EABase INTERFACE include/Common)
|
|
|
|
|
|
|
+ #-------------------------------------------------------------------------------------------
|
|
|
|
|
+ # Include dirs
|
|
|
|
|
+ #-------------------------------------------------------------------------------------------
|
|
|
|
|
+ target_include_directories(EABase INTERFACE include/Common)
|
|
|
|
|
+endif()
|