Skip to content

Commit

Permalink
Update cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
SelcukAydi committed Nov 26, 2023
1 parent 67c377c commit de0fa04
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ SET(WARNING_FLAGS "-Wno-unused-variable -Wno-unused-parameter")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} -std=c++17")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(CMAKE_INSTALL_PREFIX "/usr/local/lib/")

# This is a local setting and needs to be removed.
list(APPEND CMAKE_PREFIX_PATH "/usr/local/lib/boost/lib/cmake/" "/usr/local/lib/protobuf/lib/cmake/")
if(${CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT})
set(CMAKE_INSTALL_PREFIX "/usr/local/lib/")
endif()

option(ENABLE_BUNNY_TEST "Enables the bunny test cases." OFF)
option(ENABLE_BUNNY_BENCHMARKING "Enables the benchmarking test cases." OFF)
option(ENABLE_BUNNY_TEST "Enables the bunny test cases. Requires Gtest." OFF)
option(ENABLE_BUNNY_BENCHMARKING "Enables the benchmarking test cases. Requires Boost, absl, utf8_range and Protobuf." ON)

add_compile_options(-Wall -Wextra -Wpedantic)

Expand Down

0 comments on commit de0fa04

Please sign in to comment.