Skip to content

Commit 8338326

Browse files
inaki-amatriarizsotto
authored andcommitted
Add BUILD_ALWAYS to ensure BearSource rebuilds
This change ensures that `BearSource` is rebuilt whenever its sources are modified. The `BUILD_ALWAYS` option in CMake's `ExternalProject` module enforces this behavior. For more details, see the CMake documentation https://cmake.org/cmake/help/latest/module/ExternalProject.html.
1 parent f856ccf commit 8338326

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ ExternalProject_Add(BearSource
8383
-DCMAKE_MODULE_LINKER_FLAGS:STRING=${CMAKE_MODULE_LINKER_FLAGS}
8484
-DROOT_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
8585
${CMAKE_CACHE_ARGS_EXTRA}
86+
BUILD_ALWAYS
87+
1
8688
TEST_BEFORE_INSTALL
8789
1
8890
TEST_COMMAND

0 commit comments

Comments
 (0)