Skip to content

Commit

Permalink
Remove find_host_package macro
Browse files Browse the repository at this point in the history
Originally added in #2395

With the rational of causing issues when cross-compiling for iOS.

This is no longer the case.
  • Loading branch information
juan-lunarg committed Nov 22, 2023
1 parent fd40373 commit b586de7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,6 @@ function(glslang_set_link_args TARGET)
endif()
endfunction(glslang_set_link_args)

if(NOT COMMAND find_host_package)
macro(find_host_package)
find_package(${ARGN})
endmacro()
endif()

# Root directory for build-time generated include files
set(GLSLANG_GENERATED_INCLUDEDIR "${CMAKE_BINARY_DIR}/include")

Expand Down Expand Up @@ -273,8 +267,6 @@ else()
endif()

if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/External)
find_host_package(Python3 REQUIRED)

# We depend on these for later projects, so they should come first.
add_subdirectory(External)
endif()
Expand Down
2 changes: 1 addition & 1 deletion StandAlone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

find_host_package(Python3 REQUIRED)
find_package(Python3 REQUIRED)

set(GLSLANG_INTRINSIC_H "${GLSLANG_GENERATED_INCLUDEDIR}/glslang/glsl_intrinsic_header.h")
set(GLSLANG_INTRINSIC_PY "${CMAKE_CURRENT_SOURCE_DIR}/../gen_extension_headers.py")
Expand Down

0 comments on commit b586de7

Please sign in to comment.