summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-04-02 14:32:30 -0400
committerTom Rondeau <trondeau@vt.edu>2013-04-02 14:32:30 -0400
commitadd507cc26ba77bc7dba7b60ce1bef988390808c (patch)
tree306163bf8370daf292c9ddeea212942e277859a6
parent2b6279723647b16004ba063f6f11c7b146e56337 (diff)
build: duplicating move on next of config.h creation to get all defs.
-rw-r--r--CMakeLists.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3776a3e9a5..721b5a948f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -301,20 +301,6 @@ add_subdirectory(gr-fcd)
add_subdirectory(gr-wavelet)
add_subdirectory(gr-wxgui)
-# Create a config.h with some definitions to export to other projects.
-CONFIGURE_FILE(
- ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
- ${CMAKE_CURRENT_BINARY_DIR}/config.h
-)
-
-# Install config.h in include/gnuradio
-install(
- FILES
- ${CMAKE_CURRENT_BINARY_DIR}/config.h
- DESTINATION ${GR_INCLUDE_DIR}/gnuradio
- COMPONENT "core_devel"
-)
-
# Install our Cmake modules into ${GR_PKG_DATA_DIR}/cmake/Modules
file(GLOB cmake_modules "cmake/Modules/*.cmake")
install(
@@ -333,3 +319,17 @@ CPACK_FINALIZE()
GR_PRINT_COMPONENT_SUMMARY()
message(STATUS "Using install prefix: ${CMAKE_INSTALL_PREFIX}")
message(STATUS "Building for version: ${VERSION} / ${LIBVER}")
+
+# Create a config.h with some definitions to export to other projects.
+CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/config.h
+)
+
+# Install config.h in include/gnuradio
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/config.h
+ DESTINATION ${GR_INCLUDE_DIR}/gnuradio
+ COMPONENT "core_devel"
+)