Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedwardli committed Jan 11, 2025
1 parent c581c73 commit 36321f1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ if(USE_VULKAN)
option(ENABLE_PCH "Enables Precompiled header" OFF)
add_subdirectory(core/deps/glslang EXCLUDE_FROM_ALL)
if(MSVC)
get_property(all_targets DIRECTORY core/deps/glslang PROPERTY BUILDSYSTEM_TARGETS)
message(STATUS "Available targets:")
foreach(target IN LISTS all_targets)
message(STATUS " - ${target}")
Expand Down Expand Up @@ -2298,9 +2299,4 @@ endif()
if(${CMAKE_GENERATOR} MATCHES "^Xcode.*|^Visual Studio.*")
file(GLOB_RECURSE SRC_FILES *.h *.cpp *.c *.cc *.mm)
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SRC_FILES})
endif()

message(STATUS "Available targets:")
foreach(target IN LISTS all_targets)
message(STATUS " - ${target}")
endforeach()
endif()

0 comments on commit 36321f1

Please sign in to comment.