From 01559859c7bc12fd942927af44b0f46eb55dc918 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 13 Mar 2018 10:25:25 +0100 Subject: Add libcrystfel subdir after everything else is set up Otherwise loads of flags and dependencies are missing. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 81cad49e..3401a6be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,9 +49,6 @@ set(COMMON_LIBRARIES ) -# Add the libcrystfel target -add_subdirectory(libcrystfel) - include(GetGitRevisionDescription) get_git_head_revision(GIT_REFSPEC GIT_SHA1) @@ -79,6 +76,9 @@ check_library_exists(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME) configure_file(config.h.cmake.in config.h) include_directories(${CMAKE_CURRENT_BINARY_DIR}) +# Add the libcrystfel target +add_subdirectory(libcrystfel) + # ---------------------------------------------------------------------- # Build Target # partial_sim -- cgit v1.2.3