We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
include
1 parent 5431b9d commit 009faeaCopy full SHA for 009faea
src/CMakeLists.txt
@@ -31,7 +31,8 @@ endif()
31
get_target_property(use_pic secp256k1 POSITION_INDEPENDENT_CODE)
32
set_target_properties(secp256k1_precomputed PROPERTIES POSITION_INDEPENDENT_CODE ${use_pic})
33
34
-target_include_directories(secp256k1 PUBLIC
+target_include_directories(secp256k1 INTERFACE
35
+ $<BUILD_INTERFACE:$<$<NOT:$<BOOL:${PROJECT_IS_TOP_LEVEL}>>:${PROJECT_SOURCE_DIR}/include>>
36
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
37
)
38
set_target_properties(secp256k1 PROPERTIES
0 commit comments