mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 03:29:50 +00:00
Don't build Rez if boost is unavailable
This commit is contained in:
parent
8cd19154a5
commit
37077e3706
@ -21,6 +21,7 @@ set(CMAKE_CXX_FLAGS "--std=c++11 -Wall")
|
||||
|
||||
find_package(Boost COMPONENTS wave filesystem system thread regex program_options)
|
||||
|
||||
if(Boost_FOUND)
|
||||
|
||||
find_package(BISON REQUIRED)
|
||||
|
||||
@ -66,3 +67,5 @@ target_link_libraries(Rez RezLib ResourceFiles ${Boost_LIBRARIES})
|
||||
install(TARGETS Rez RUNTIME DESTINATION bin)
|
||||
|
||||
add_subdirectory(Test)
|
||||
|
||||
endif(Boost_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user