Skip to content

Commit

Permalink
Add BUILD_ALWAYS to ensure BearSource rebuilds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
inaki-amatria authored and rizsotto committed Nov 12, 2024
1 parent f856ccf commit 8338326
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ ExternalProject_Add(BearSource
-DCMAKE_MODULE_LINKER_FLAGS:STRING=${CMAKE_MODULE_LINKER_FLAGS}
-DROOT_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
${CMAKE_CACHE_ARGS_EXTRA}
BUILD_ALWAYS
1
TEST_BEFORE_INSTALL
1
TEST_COMMAND
Expand Down

0 comments on commit 8338326

Please sign in to comment.