mirror of
https://github.com/darlinghq/xcbuild.git
synced 2025-02-18 15:49:22 +00:00
Revert "Don't allow installing without a prefix, as this can break systems."
This reverts commit 920c1b445d1fe67453f786a08f463c49995b7f1e.
This commit is contained in:
parent
920c1b445d
commit
a3bf8e26c0
@ -25,11 +25,6 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
#set(CMAKE_BUILD_TYPE "Release")
|
||||
|
||||
# Installing to root can break systems.
|
||||
if (CMAKE_INSTALL_PREFIX STREQUAL "")
|
||||
message(FATAL_ERROR "Installing without a prefix may conflict with system files.")
|
||||
endif ()
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user