mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
UNIX variable is true on Apple.
This commit is contained in:
parent
a2fdd3638c
commit
fec5e6bb9c
@ -33,7 +33,7 @@ if(NO_STATISTICS)
|
|||||||
target_compile_definitions(TracyServer PUBLIC TRACY_NO_STATISTICS)
|
target_compile_definitions(TracyServer PUBLIC TRACY_NO_STATISTICS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX AND NOT APPLE)
|
||||||
target_link_libraries(TracyServer PRIVATE TracyTbb)
|
target_link_libraries(TracyServer PRIVATE TracyTbb)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -190,9 +190,7 @@ if (NOT NO_FILESELECTOR)
|
|||||||
find_library(APPKIT_LIBRARY AppKit)
|
find_library(APPKIT_LIBRARY AppKit)
|
||||||
find_library(UNIFORMTYPEIDENTIFIERS_LIBRARY UniformTypeIdentifiers)
|
find_library(UNIFORMTYPEIDENTIFIERS_LIBRARY UniformTypeIdentifiers)
|
||||||
target_link_libraries(TracyNfd PUBLIC ${APPKIT_LIBRARY} ${UNIFORMTYPEIDENTIFIERS_LIBRARY})
|
target_link_libraries(TracyNfd PUBLIC ${APPKIT_LIBRARY} ${UNIFORMTYPEIDENTIFIERS_LIBRARY})
|
||||||
endif()
|
elseif (UNIX)
|
||||||
|
|
||||||
if (UNIX)
|
|
||||||
if (TRACY_GTK_FILESELECTOR)
|
if (TRACY_GTK_FILESELECTOR)
|
||||||
pkg_check_modules(GTK3 gtk+-3.0)
|
pkg_check_modules(GTK3 gtk+-3.0)
|
||||||
if (NOT GTK3_FOUND)
|
if (NOT GTK3_FOUND)
|
||||||
@ -217,7 +215,7 @@ endif()
|
|||||||
|
|
||||||
# TBB
|
# TBB
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX AND NOT APPLE)
|
||||||
# Tracy does not use TBB directly, but the implementation of parallel algorithms
|
# Tracy does not use TBB directly, but the implementation of parallel algorithms
|
||||||
# in some versions of libstdc++ depends on TBB. When it does, you must
|
# in some versions of libstdc++ depends on TBB. When it does, you must
|
||||||
# explicitly link against -ltbb.
|
# explicitly link against -ltbb.
|
||||||
|
Loading…
Reference in New Issue
Block a user