fixup CMakeLists.txt

This commit is contained in:
Eyck Jentzsch 2022-04-11 09:34:07 +02:00
parent cc687eaf4b
commit 342550504c
1 changed files with 4 additions and 11 deletions

View File

@ -84,10 +84,6 @@ find_package(elfio)
find_package(fmt) find_package(fmt)
find_package(gsl-lite) find_package(gsl-lite)
set(Boost_NO_BOOST_CMAKE ON) # Don't do a find_package in config mode before searching for a regular boost install. set(Boost_NO_BOOST_CMAKE ON) # Don't do a find_package in config mode before searching for a regular boost install.
#set(Boost_NO_SYSTEM_PATHS ON)
#set(Boost_USE_STATIC_LIBS OFF)
#set(Boost_USE_MULTITHREADED ON)
#set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost REQUIRED COMPONENTS program_options QUIET) find_package(Boost REQUIRED COMPONENTS program_options QUIET)
@ -127,9 +123,6 @@ endif()
if(NOT LIBS_ONLY) if(NOT LIBS_ONLY)
add_subdirectory(src) add_subdirectory(src)
endif() endif()
if(IS_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/plugins)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/plugins)
endif()
if(NOT NO_FW_BUILD) if(NOT NO_FW_BUILD)
add_custom_target(fw-hello-world ALL COMMAND make -C fw/hello-world add_custom_target(fw-hello-world ALL COMMAND make -C fw/hello-world
USES_TERMINAL WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) USES_TERMINAL WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})