diff options
author | Mark Swaanenburg <mark@swaanenburg.nl> | 2016-11-06 07:14:50 +0100 |
---|---|---|
committer | Mark Swaanenburg <mark@swaanenburg.nl> | 2016-11-06 07:14:50 +0100 |
commit | 8105f6b1ee94812713fda7a9a832c746eb53fb46 (patch) | |
tree | 61f980d1df37e8386c6092daa2a60750c5622b50 /configuration | |
parent | eb724f368743dcf1de09846ec91845f744325b6e (diff) | |
download | google-fruit-8105f6b1ee94812713fda7a9a832c746eb53fb46.tar.gz |
Make the unittests actually compile the tests when fruit is used as a submodule
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configuration/CMakeLists.txt b/configuration/CMakeLists.txt index 730e674..587b115 100644 --- a/configuration/CMakeLists.txt +++ b/configuration/CMakeLists.txt @@ -93,7 +93,7 @@ if(NOT "${FRUIT_HAS_STD_IS_TRIVIALLY_COPYABLE}" AND NOT "${FRUIT_HAS_IS_TRIVIALL message(WARNING "The current standard library doesn't support std::is_trivially_copyable<T>, and the current compiler doesn't support __is_trivially_copyable(T) nor __has_trivial_copy(T). Attemping to use std::is_trivially_copyable<T> anyway, but it most likely won't work.") endif() -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fruit-config-base.h.in ${CMAKE_BINARY_DIR}/include/fruit/impl/fruit-config-base.h) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fruit-config-base.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/fruit/impl/fruit-config-base.h) -install(FILES ${CMAKE_BINARY_DIR}/include/fruit/impl/fruit-config-base.h +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/fruit/impl/fruit-config-base.h DESTINATION ${INSTALL_INCLUDE_DIR}/impl) |