mirror of https://github.com/AxioDL/metaforce.git
Avoid duplicate athena/extern/zlib import
This commit is contained in:
parent
3d0451a496
commit
e4a775f18e
|
@ -46,6 +46,7 @@ endforeach()
|
||||||
|
|
||||||
configure_file(include/hecl/ApplicationReps.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/ApplicationReps.hpp @ONLY)
|
configure_file(include/hecl/ApplicationReps.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/ApplicationReps.hpp @ONLY)
|
||||||
|
|
||||||
|
add_subdirectory(extern)
|
||||||
add_subdirectory(bintoc)
|
add_subdirectory(bintoc)
|
||||||
|
|
||||||
if(NOT TARGET bintoc)
|
if(NOT TARGET bintoc)
|
||||||
|
@ -53,8 +54,6 @@ if(NOT TARGET bintoc)
|
||||||
find_package(hecl-bintoc REQUIRED)
|
find_package(hecl-bintoc REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(extern)
|
|
||||||
|
|
||||||
if(NOT TARGET atdna)
|
if(NOT TARGET atdna)
|
||||||
# Import native atdna if cross-compiling
|
# Import native atdna if cross-compiling
|
||||||
find_package(atdna REQUIRED)
|
find_package(atdna REQUIRED)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
if(NOT CMAKE_CROSSCOMPILING)
|
if(NOT CMAKE_CROSSCOMPILING)
|
||||||
add_subdirectory(../extern/athena/extern/zlib zlib)
|
|
||||||
add_executable(bintoc bintoc.c)
|
add_executable(bintoc bintoc.c)
|
||||||
target_link_libraries(bintoc ${ZLIB_LIBRARIES})
|
target_link_libraries(bintoc ${ZLIB_LIBRARIES})
|
||||||
function(bintoc out in sym)
|
function(bintoc out in sym)
|
||||||
|
|
Loading…
Reference in New Issue