Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include missing GNUInstallDirs #105

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
last try, export build_options again
ClausKlein committed May 7, 2022
commit bd43a45514acdbdbee084d54be71704918886a48
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -82,7 +82,8 @@ add_library(lib INTERFACE)
set(lib_INCLUDE_DIR "include")
target_include_directories(lib INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${lib_INCLUDE_DIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>") # TODO(refactor)
# FIXME(CK: Not for INTERFACE libs!) target_link_libraries(lib INTERFACE project_options project_warnings)
# FIXME(CK: This should not done for INTERFACE libs!)
target_link_libraries(lib INTERFACE project_options project_warnings)
target_link_system_libraries(
lib
INTERFACE