Skip to content
Snippets Groups Projects
Verified Commit 41a62425 authored by Lars Bilke's avatar Lars Bilke
Browse files

check-header: fixes in BaseLib.

parent f12b02db
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ target_link_libraries( ...@@ -13,6 +13,7 @@ target_link_libraries(
PUBLIC Boost::boost PUBLIC Boost::boost
spdlog::spdlog spdlog::spdlog
std::filesystem std::filesystem
tclap
$<$<BOOL:${MSVC}>:WinMM> # needed for timeGetTime $<$<BOOL:${MSVC}>:WinMM> # needed for timeGetTime
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml> $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::Xml>
$<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns> $<$<BOOL:${OGS_BUILD_GUI}>:Qt5::XmlPatterns>
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* http://www.opengeosys.org/project/license * http://www.opengeosys.org/project/license
*/ */
#include <cstddef>
namespace BaseLib namespace BaseLib
{ {
template <typename T> template <typename T>
......
...@@ -150,6 +150,8 @@ CPMFindPackage( ...@@ -150,6 +150,8 @@ CPMFindPackage(
if(Boost_ADDED) if(Boost_ADDED)
add_library(Boost::boost INTERFACE IMPORTED) add_library(Boost::boost INTERFACE IMPORTED)
target_include_directories(Boost::boost INTERFACE "${Boost_SOURCE_DIR}") target_include_directories(Boost::boost INTERFACE "${Boost_SOURCE_DIR}")
else()
target_include_directories(Boost::boost INTERFACE "${Boost_INCLUDE_DIR}")
endif() endif()
CPMFindPackage( CPMFindPackage(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment