Skip to content

Commit 679253b

Browse files
authored
Configure .VERSION.in in CMAKE_CURRENT_SOURCE_DIR in main CMakeLists.txt.
1 parent db0c58f commit 679253b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ project (
4545
)
4646

4747
# write the version file
48-
configure_file(${CMAKE_SOURCE_DIR}/.VERSION.in ${CMAKE_SOURCE_DIR}/.VERSION)
48+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/.VERSION.in ${CMAKE_CURRENT_SOURCE_DIR}/.VERSION)
4949

5050
if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
5151
option(JSON_FORTRAN_USE_OpenCoarrays

0 commit comments

Comments
 (0)