aboutsummaryrefslogtreecommitdiff
path: root/configuration
diff options
context:
space:
mode:
authorMark Swaanenburg <mark@swaanenburg.nl>2016-11-06 07:14:50 +0100
committerMark Swaanenburg <mark@swaanenburg.nl>2016-11-06 07:14:50 +0100
commit8105f6b1ee94812713fda7a9a832c746eb53fb46 (patch)
tree61f980d1df37e8386c6092daa2a60750c5622b50 /configuration
parenteb724f368743dcf1de09846ec91845f744325b6e (diff)
downloadgoogle-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.txt4
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)