I have the Problem that when I compile the compiler complains that he can not find the header of a library that I have written.
The CMake file looks like this:
set(TitleBlock_SOURCES
titleblock.h
titleblock.cpp
)
add_library(TitleBlock STATIC
${TitleBlock_SOURCES}
)
target_link_libraries(TitleBlock PRIVATE
Qt${QT_VERSION_MAJOR}::Widgets
Qt${QT_VERSION_MAJOR}::Xml
Qt${QT_VERSION_MAJOR}::Svg
UniversalDraw
PageLayout
)
target_include_directories(TitleBlock PUBLIC BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
This is one of two that are not working. All the other libraries that have the same structure are working.
The Project: GitHub - tobiasfalk/KiCAD-FreeCAD-TechDraw-Template-Generator at Vers.-2
I am a bit lost and have no idea why it is not working, when the others are working.