Revert "Copy platform.hpp into src directory in cmake build."

This reverts commit 11b699e73cbda47ff450554ebca2385d20a0b75a.
This commit is contained in:
Richard Newton 2013-09-23 08:29:34 +01:00
parent efbe7d45fa
commit 9db0791cd5

View File

@ -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_SOURCE_DIR}/src/platform.hpp)
list(APPEND sources ${CMAKE_CURRENT_SOURCE_DIR}/src/platform.hpp)
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}/src/libzmq.pc.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc)
set(zmq-pkgconfig ${CMAKE_CURRENT_BINARY_DIR}/libzmq.pc)