aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 27f9030..9066e65 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,7 +5,10 @@ set(sources dlfcn.c)
5add_library(dl ${sources}) 5add_library(dl ${sources})
6 6
7# Correctly export the location of installed includes in the target 7# Correctly export the location of installed includes in the target
8target_include_directories(dl INTERFACE $<INSTALL_INTERFACE:include>) 8target_include_directories(dl
9 PUBLIC
10 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src>
11 $<INSTALL_INTERFACE:include>)
9 12
10# dot not add -D<target>_EXPORTS 13# dot not add -D<target>_EXPORTS
11set_target_properties(dl PROPERTIES DEFINE_SYMBOL "") 14set_target_properties(dl PROPERTIES DEFINE_SYMBOL "")