Skip to content

Commit

Permalink
CMake tests build configuration updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
nemothenoone committed Aug 13, 2019
1 parent 647e4db commit 49b59c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ add_custom_target(multiprecision_test_suite_compile_fail)

# HACK: Workaround broken includes
file(GLOB TEST_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/*.ipp)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
foreach(HEADER ${TEST_HEADERS})
configure_file(${HEADER} ${CMAKE_CURRENT_BINARY_DIR}/include/libs/multiprecision/test/${HEADER} @ONLY)
configure_file(${HEADER} ${CMAKE_CURRENT_BINARY_DIR}/libs/multiprecision/test/${HEADER}
@ONLY)
endforeach()

add_library(multiprecision_test_settings INTERFACE)
Expand Down

0 comments on commit 49b59c8

Please sign in to comment.