Browse Source

cmake script fixes

Roberto Parolin 5 years ago
parent
commit
af4ae27479
1 changed files with 8 additions and 10 deletions
  1. 8 10
      CMakeLists.txt

+ 8 - 10
CMakeLists.txt

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