From 11b699e73cbda47ff450554ebca2385d20a0b75a Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Fri, 20 Sep 2013 19:34:31 +0100 Subject: [PATCH] Copy platform.hpp into src directory in cmake build. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0c79006..1d1d3f95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -421,8 +421,8 @@ foreach(source ${rc-sources}) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/${source}.in ${CMAKE_CURRENT_BINARY_DIR}/${source}) endforeach() -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/builds/cmake/platform.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/platform.hpp) -list(APPEND sources ${CMAKE_CURRENT_BINARY_DIR}/platform.hpp) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/builds/cmake/platform.hpp.in ${CMAKE_CURRENT_SOURCE_DIR}/src/platform.hpp) +list(APPEND sources ${CMAKE_CURRENT_SOURCE_DIR}/src/platform.hpp) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/libzmq.pc.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc) set(zmq-pkgconfig ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc)