Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/draco_targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ macro(draco_add_executable)
endif()

if(exe_LIB_DEPS)
if(CMAKE_CXX_COMPILER_ID MATCHES "^Clang|^GNU")
if(UNIX AND NOT APPLE AND (CMAKE_CXX_COMPILER_ID MATCHES "^(Clang|GNU)$"))
# Third party dependencies can introduce dependencies on system and test
# libraries. Since the target created here is an executable, and CMake
# does not provide a method of controlling order of link dependencies,
Expand Down