"...en/using-diffusers/unconditional_image_generation.md" did not exist on "1870fb05a903546b79236d277ae4bc12e626b328"
Commit d2f5a608 authored by beder's avatar beder
Browse files

Added boost find/includes to the new API CMake instructions

parent c82122ba
...@@ -90,6 +90,8 @@ if(YAML_CPP_BUILD_OLD_API) ...@@ -90,6 +90,8 @@ if(YAML_CPP_BUILD_OLD_API)
list(APPEND private_headers ${common_private_headers} ${old_api_private_headers}) list(APPEND private_headers ${common_private_headers} ${old_api_private_headers})
add_definitions(-DYAML_CPP_OLD_API) add_definitions(-DYAML_CPP_OLD_API)
else() else()
find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
list(APPEND sources ${common_sources} ${new_api_sources}) list(APPEND sources ${common_sources} ${new_api_sources})
list(APPEND public_headers ${common_public_headers} ${new_api_public_headers}) list(APPEND public_headers ${common_public_headers} ${new_api_public_headers})
list(APPEND private_headers ${common_private_headers} ${new_api_private_headers}) list(APPEND private_headers ${common_private_headers} ${new_api_private_headers})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment