File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ set(NBL_SCENE_SOURCES
285
285
)
286
286
287
287
set (NBL_GENERATED_SOURCES
288
- ${CMAKE_BINARY_DIR } /src/nbl/git_info.cpp
288
+ ${CMAKE_CURRENT_BINARY_DIR } /src/nbl/git_info.cpp
289
289
)
290
290
291
291
set (NABLA_SRCS_COMMON
@@ -662,13 +662,13 @@ add_custom_target(CheckGit COMMAND ${CMAKE_COMMAND}
662
662
-DWORKING_DIRECTORY:PATH=${NBL_ROOT_PATH}
663
663
-DGIT_EXECUTABLE:PATH=${GIT_EXECUTABLE}
664
664
-DINPUT_FILE:PATH= "${NBL_ROOT_PATH} /src/nbl/git_info.cpp.in"
665
- -DOUTPUT_FILE:PATH= "${CMAKE_BINARY_DIR } /src/nbl/git_info.cpp"
665
+ -DOUTPUT_FILE:PATH= "${CMAKE_CURRENT_BINARY_DIR } /src/nbl/git_info.cpp"
666
666
-P ${NBL_ROOT_PATH} /cmake/scripts/nbl/gitInfo.cmake
667
- BYPRODUCTS ${CMAKE_BINARY_DIR } /src/nbl/git_info.cpp
667
+ BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR } /src/nbl/git_info.cpp
668
668
)
669
669
670
670
set (INPUT_FILE "${NBL_ROOT_PATH} /src/nbl/git_info.cpp.in" )
671
- set (OUTPUT_FILE "${CMAKE_BINARY_DIR } /src/nbl/git_info.cpp" )
671
+ set (OUTPUT_FILE "${CMAKE_CURRENT_BINARY_DIR } /src/nbl/git_info.cpp" )
672
672
set (WORKING_DIRECTORY ${NBL_ROOT_PATH} )
673
673
include ("${NBL_ROOT_PATH} /cmake/scripts/nbl/gitInfo.cmake" )
674
674
You can’t perform that action at this time.
0 commit comments