Skip to content

Commit

Permalink
tests: fix order in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Dec 6, 2019
1 parent 825d42f commit 3864e8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/CMakeLists.txt
Expand Up @@ -128,6 +128,9 @@ execute_process(
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/build
)

INCLUDE(BareosExtractVersionInfo)
INCLUDE(BareosLocalBuildDefinitions OPTIONAL RESULT_VARIABLE BareosLocalBuildDefinitionsFile)

set(BUILDNAME "${BAREOS_FULL_VERSION}" CACHE STRING "site name variable for CDash")
set(SITE "${CMAKE_SYSTEM}" CACHE STRING "build name variable for CDash")
# enable "make test"
Expand All @@ -136,8 +139,6 @@ set(CMAKE_CTEST_COMMAND ctest -V)
include(CTest)


INCLUDE(BareosExtractVersionInfo)

IF (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
set(Readline_ROOT_DIR /usr/local/opt/readline)
Expand Down

0 comments on commit 3864e8a

Please sign in to comment.