libarchive: Remove hard-coded build configuration
Do not set CMAKE_BUILD_TYPE to Debug. Use the configuration specified by the user.
This commit is contained in:
parent
3a9f4490f4
commit
f15d75760f
|
@ -7,7 +7,6 @@ SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake")
|
||||||
if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
|
if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${libarchive_BINARY_DIR}/bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${libarchive_BINARY_DIR}/bin)
|
||||||
endif()
|
endif()
|
||||||
SET(CMAKE_BUILD_TYPE "Debug")
|
|
||||||
|
|
||||||
# On MacOS, prefer MacPorts libraries to system libraries.
|
# On MacOS, prefer MacPorts libraries to system libraries.
|
||||||
# I haven't come up with a compelling argument for this to be conditional.
|
# I haven't come up with a compelling argument for this to be conditional.
|
||||||
|
|
Loading…
Reference in New Issue