Skip to content

Commit

Permalink
[#28] Linux specific CMake fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Clovis Durand <cd.clovel19@gmail.com>
  • Loading branch information
Clovel committed Apr 5, 2020
1 parent 3b7c863 commit f44dae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ option(ENABLE_EXAMPLES "Enable Examples" 1)
find_package(Doxygen)
option(ENABLE_DOCS "Build API documentation" ${DOXYGEN_FOUND})

# cpprest dependency
find_package(OpenSSL REQUIRED)
if(OPENSSL_FOUND)
if(APPLE)
Expand All @@ -79,6 +80,7 @@ if(OPENSSL_FOUND)
endif(OPENSSL_FOUND)
if(UNIX AND NOT APPLE)
set(cpprestsdk_DIR /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/cmake/)
find_package(Boost COMPONENTS system REQUIRED)
endif(UNIX AND NOT APPLE)
find_package(cpprestsdk REQUIRED NAMES cpprestsdk cpprest)

Expand Down

0 comments on commit f44dae3

Please sign in to comment.