Revert "Don't allow installing without a prefix, as this can break systems."

This reverts commit 920c1b445d1fe67453f786a08f463c49995b7f1e.
This commit is contained in:
Grant Paul 2016-08-08 20:22:52 -07:00
parent 920c1b445d
commit a3bf8e26c0

View File

@ -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")