Skip to content

Commit

Permalink
simplified integration
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 13, 2024
1 parent 04002ca commit 259e508
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 86 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ list(APPEND CMAKE_MODULE_PATH
)
include("configure_boost")
include("configure_ccache")
include("configure_dependencies")


##############################################################
# CCache
Expand Down
32 changes: 0 additions & 32 deletions cmake/configure_dependencies.cmake

This file was deleted.

22 changes: 1 addition & 21 deletions tests/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,7 @@ project(integration_example VERSION "0.0.1" LANGUAGES C CXX)
# CMake modules and macro files
##############################################################

list(APPEND CMAKE_MODULE_PATH
"${PROJECT_SOURCE_DIR}/cmake"
)
include("configure_dependencies")


##############################################################
# Dependency Handling
##############################################################

# set(CMAKE_FIND_DEBUG_MODE ON)

set(DEPENDENCY_NAMES_LIST loki)
configure_dependencies("${DEPENDENCY_NAMES_LIST}")


##############################################################
# CMake modules and macro files
##############################################################

find_package(loki 0.0.1 COMPONENTS parsers REQUIRED)
find_package(loki 0.0.1 COMPONENTS parsers REQUIRED PATHS "${CMAKE_INSTALL_PREFIX}/loki" NO_SYSTEM_ENVIRONMENT_PATH)


##############################################################
Expand Down
32 changes: 0 additions & 32 deletions tests/integration/cmake/configure_dependencies.cmake

This file was deleted.

0 comments on commit 259e508

Please sign in to comment.