Skip to content

Commit

Permalink
Catch2: repair paths
Browse files Browse the repository at this point in the history
  • Loading branch information
biochem-fan committed Jul 17, 2020
1 parent 7796d49 commit bf3bc80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

add_executable(tests
tests.cpp
)
Expand All @@ -8,7 +7,9 @@ target_link_libraries(tests relion_lib)
target_link_libraries(tests ${FFTW_LIBRARIES})
target_link_libraries(tests ${TIFF_LIBRARIES})

include_directories(tests PRIVATE ${CMAKE_SOURCE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories(tests PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/tests)
include_directories(tests PRIVATE ${FFTW_INCLUDES})

find_package(OpenMP)
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define CATCH_CONFIG_MAIN

#include <catch2/catch.hpp>
#include "tests/ctf.cpp"
#include "ctf.cpp"

0 comments on commit bf3bc80

Please sign in to comment.