Skip to content

Commit

Permalink
cmake: rm package not found log
Browse files Browse the repository at this point in the history
  • Loading branch information
peacalm committed Jun 9, 2023
1 parent e4299fb commit 4e42abd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions test/installation_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package(Maglev REQUIRED)
if (NOT Maglev_FOUND)
message(FATAL_ERROR "Maglev not found!")
endif()

add_executable(installation_test "main.cpp")

Expand Down
6 changes: 0 additions & 6 deletions test/performance_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package(GTest REQUIRED)
if (NOT GTEST_FOUND)
message(FATAL_ERROR "GTest not found! Please install it first.")
endif()

option(ENABLE_MYOSTREAM_WATCH "Use lib myostream to print variables to console." FALSE)
if (ENABLE_MYOSTREAM_WATCH)
find_package(MyOStream REQUIRED)
if (NOT MyOStream_FOUND)
message(FATAL_ERROR "MyOStream not found! Please install it first.")
endif()
add_definitions(-DENABLE_MYOSTREAM_WATCH)
endif()

Expand Down
6 changes: 0 additions & 6 deletions test/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package(GTest REQUIRED)
if (NOT GTEST_FOUND)
message(FATAL_ERROR "GTest not found! Please install it first.")
endif()

option(ENABLE_MYOSTREAM_WATCH "Use lib myostream to print variables to console." FALSE)
if (ENABLE_MYOSTREAM_WATCH)
find_package(MyOStream REQUIRED)
if (NOT MyOStream_FOUND)
message(FATAL_ERROR "MyOStream not found! Please install it first.")
endif()
add_definitions(-DENABLE_MYOSTREAM_WATCH)
endif()

Expand Down

0 comments on commit 4e42abd

Please sign in to comment.