Skip to content

Commit

Permalink
Update CMakeLists.txt to include cxxopts include folder in different way
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Dec 5, 2023
1 parent a861e3f commit 1a77720
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ endif()

find_package(cxxopts REQUIRED)

# Added as system unable to locate cxxopts include folder on MacOS
set(_cxxopts_install_dir ${cxxopts_install_DIR})
include_directories( ${_cxxopts_install_dir}/include)
# Added as system unable to locate cxxopts include folder on MacOS without
include_directories(${cxxopts_DIR}/../include/)

set(Python_FIND_VIRTUALENV ONLY)
find_package(Python COMPONENTS Interpreter Development)
Expand Down

0 comments on commit 1a77720

Please sign in to comment.