summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-02-19 08:57:13 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-02-19 08:57:13 (GMT)
commited34e97157c34acae762568eb6b1b3fb9445c198 (patch)
tree931fa856a64222804d8adf46249bc67ea43a2f05 /CMakeLists.txt
parent1d4bcf5ef8bc3cec9dac0d1b97079dbe835517e6 (diff)
Moved header files to an include directory.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18f8d90..a782d0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,7 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall")
project(TRAJECTORY)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+include_directories(${CMAKE_SOURCE_DIR}/include)
option(BUILD_FORTRAN "Build Fortran examples" OFF)
@@ -15,7 +16,7 @@ if(USE_OPENMP)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()
-endif()
+endif()
add_subdirectory(src)
contact: Jan Huwald // Impressum