Skip to content

Commit

Permalink
Remove superfluos CONFIG for find_package() in installation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Feb 11, 2022
1 parent cde177b commit b59d8e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/conan-cmake-installation-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif()
include(${CMAKE_CURRENT_BINARY_DIR}/conan.cmake)
conan_cmake_run(CONANFILE conanfile.txt BASIC_SETUP CMAKE_TARGETS)

find_package(SI CONFIG REQUIRED)
find_package(SI REQUIRED)

add_executable(SI-example-conan
${CMAKE_CURRENT_SOURCE_DIR}/../src/installation-tests/main.cc)
Expand Down
2 changes: 1 addition & 1 deletion test/conan-installation-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(SI-conan-installation-test)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)

find_package(SI CONFIG REQUIRED)
find_package(SI REQUIRED)

add_executable(SI-conan-installation-test
${CMAKE_CURRENT_SOURCE_DIR}/../src/installation-tests/main.cc)
Expand Down
2 changes: 1 addition & 1 deletion test/installation-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)

project(SI-example)

find_package(SI CONFIG REQUIRED)
find_package(SI REQUIRED)

add_executable(SI-example
${CMAKE_CURRENT_SOURCE_DIR}/../src/installation-tests/main.cc)
Expand Down
2 changes: 1 addition & 1 deletion test/src/compilation_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)

project(SI-Compilation-Tests)

find_package(SI CONFIG REQUIRED)
find_package(SI REQUIRED)

add_executable(SI-Compilation-Tests)
target_link_libraries(SI-Compilation-Tests SI::SI)
Expand Down

0 comments on commit b59d8e1

Please sign in to comment.