mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
10 lines
297 B
CMake
10 lines
297 B
CMake
|
string(TOLOWER "${CMAKE_INSTALL_PREFIX}" _PREFIX)
|
||
|
string(TOLOWER "${ITK_BINARY_DIR}" _BUILD)
|
||
|
if("${_PREFIX}" STREQUAL "${_BUILD}")
|
||
|
message(FATAL_ERROR
|
||
|
"The current CMAKE_INSTALL_PREFIX points at the build tree:\n"
|
||
|
" ${CMAKE_INSTALL_PREFIX}\n"
|
||
|
"This is not supported."
|
||
|
)
|
||
|
endif()
|