Skip to content

Commit 456d648

Browse files
committed
exclude PSTL from ALL targets, don't use their install targets!
1 parent 54ae86e commit 456d648

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3rdparty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if(DEFINED ENV{VULKAN_SDK})
6565
endif()
6666

6767
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
68-
add_subdirectory(pstl pstl)
68+
add_subdirectory(pstl pstl EXCLUDE_FROM_ALL)
6969
endif()
7070

7171
# SDL2

3rdparty/pstl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # only non-multi-generators and clang
77
set(PREVIOUS_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
88
set(BUILD_SHARED_LIBS ON CACHE BOOL "" FORCE)
99
set(TBB_SANITIZE "" CACHE STRING "" FORCE)
10-
add_subdirectory(oneTBB oneTBB)
10+
add_subdirectory(oneTBB oneTBB EXCLUDE_FROM_ALL)
1111

1212
if(PREVIOUS_BUILD_SHARED_LIBS)
1313
set(BUILD_SHARED_LIBS ${PREVIOUS_BUILD_SHARED_LIBS} CACHE BOOL "" FORCE)

0 commit comments

Comments
 (0)