Skip to content

Commit 4c7a9eb

Browse files
committed
Fix config target location
1 parent 112c32b commit 4c7a9eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ check_c_source_compiles("
295295
# configure a header file to pass the version number only
296296
configure_file(
297297
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.h.in"
298-
"${PROJECT_NAME}Config.h"
298+
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.h"
299299
)
300300

301301
add_subdirectory("${PROJECT_NAME}")

0 commit comments

Comments
 (0)