Skip to content

Commit ef19b4f

Browse files
authored
Merge pull request #2351 from compnerd/find-your-path
build: use `target_include_directories` (NFC)
2 parents 9544d0c + 1ab1448 commit ef19b4f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ set_target_properties(uuid
6363
POSITION_INDEPENDENT_CODE YES)
6464
# Add an include directory for the CoreFoundation framework headers to satisfy
6565
# the dependency on TargetConditionals.h
66-
target_compile_options(uuid
67-
PUBLIC
68-
-I${CMAKE_CURRENT_BINARY_DIR}/CoreFoundation.framework/Headers)
66+
target_include_directories(uuid PUBLIC
67+
${CMAKE_CURRENT_BINARY_DIR}/CoreFoundation.framework/Headers)
6968
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
7069
target_compile_definitions(uuid
7170
PRIVATE

0 commit comments

Comments
 (0)