simplify PHYSFS building
This commit is contained in:
parent
0eb851e7bf
commit
c539473021
4
third-party/physfs/CMakeLists.txt
vendored
4
third-party/physfs/CMakeLists.txt
vendored
@ -212,7 +212,7 @@ if(PHYSFS_BUILD_SHARED AND PHYSFS_BUILD_STATIC AND NOT WIN32)
|
|||||||
set_target_properties(physfs-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
set_target_properties(physfs-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(PHYSFS_BUILD_TEST "Build stdio test program." TRUE)
|
option(PHYSFS_BUILD_TEST "Build stdio test program." FALSE)
|
||||||
mark_as_advanced(PHYSFS_BUILD_TEST)
|
mark_as_advanced(PHYSFS_BUILD_TEST)
|
||||||
if(PHYSFS_BUILD_TEST)
|
if(PHYSFS_BUILD_TEST)
|
||||||
find_path(READLINE_H readline/readline.h)
|
find_path(READLINE_H readline/readline.h)
|
||||||
@ -265,7 +265,7 @@ if(NOT PHYSFS_DISABLE_INSTALL)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(PHYSFS_BUILD_DOCS "Build doxygen based documentation" TRUE)
|
option(PHYSFS_BUILD_DOCS "Build doxygen based documentation" FALSE)
|
||||||
if(PHYSFS_BUILD_DOCS)
|
if(PHYSFS_BUILD_DOCS)
|
||||||
find_package(Doxygen)
|
find_package(Doxygen)
|
||||||
if(DOXYGEN_FOUND)
|
if(DOXYGEN_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user