Skip to content
Snippets Groups Projects
Commit afe0de85 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

windows build

parent 51e7f31d
No related branches found
No related tags found
1 merge request!334use std::filesystem
Pipeline #29128 failed
...@@ -28,7 +28,11 @@ target_include_directories(ftlcommon PUBLIC ...@@ -28,7 +28,11 @@ target_include_directories(ftlcommon PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
PRIVATE src) PRIVATE src)
target_link_libraries(ftlcommon Threads::Threads Eigen3::Eigen ${OS_LIBS} ${OpenCV_LIBS} ${URIPARSER_LIBRARIES} ${CUDA_LIBRARIES} stdc++fs) # for gcc < 9, not required for newer versions
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CXX_FILESYSTEM_LIBRARIES "stdc++fs")
endif()
target_link_libraries(ftlcommon Threads::Threads Eigen3::Eigen ${OS_LIBS} ${OpenCV_LIBS} ${URIPARSER_LIBRARIES} ${CUDA_LIBRARIES} ${CXX_FILESYSTEM_LIBRARIES})
target_precompile_headers(ftlcommon target_precompile_headers(ftlcommon
PRIVATE include/ftl/cuda_common.hpp PRIVATE include/ftl/cuda_common.hpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment