Permalink
Browse files

ETL CMake: make tests runnable without install

  • Loading branch information...
1 parent aa52828 commit 16bf7fa0fbec048fe4470bbef81efd65ed706a3b @caryoscelus caryoscelus committed Nov 7, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 ETL/CMakeLists.txt
View
@@ -7,6 +7,12 @@ if (CMAKE_USE_PTHREADS_INIT)
set(HAVE_LIBPTHREAD ON)
endif()
+## for tests
+include_directories(${CMAKE_SOURCE_DIR})
+
+## for test to find generated etl_profile.h
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/ETL)
+
add_subdirectory(ETL)
enable_testing()

0 comments on commit 16bf7fa

Please sign in to comment.