Skip to content

Commit fd1f5a3

Browse files
authored
Update CMakeLists.txt
Attempt 3 at moving correct files. Adding logging to see what is going on.
1 parent 773fcc1 commit fd1f5a3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,7 @@ if(COVERAGE)
185185
endif(COVERAGE)
186186

187187
string(TIMESTAMP TACO_BUILD_DATE "%Y-%m-%d")
188-
configure_file("${TACO_INCLUDE_DIR}/taco/version.h.in" "${CMAKE_INSTALL_PREFIX}/build/include/taco/version.h" @ONLY)
189-
install(FILES "${CMAKE_INSTALL_PREFIX}/taco/version.h" DESTINATION "include/taco")
188+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/taco/version.h.in" "${CMAKE_CURRENT_BINARY_DIR}/include/taco/version.h" @ONLY)
189+
message(STATUS "Shifting ${CMAKE_CURRENT_SOURCE_DIR}/taco/version.h.in to ${CMAKE_CURRENT_BINARY_DIR}/include/taco/version.h")
190+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/include/taco/version.h" DESTINATION "include/taco")
191+
message(STATUS "Shifting ${CMAKE_CURRENT_BINARY_DIR}/include/taco/version.h" to include/taco")

0 commit comments

Comments
 (0)