cmake_policy(SETCMP0090NEW) endif() #Prohibit in-source builds if("${CMAKE_BINARY_DIR}"STREQUAL"${CMAKE_SOURCE_DIR}") message( FATAL_ERROR "OBS: In-source builds of OBS are not supported. Specify a build directory via 'cmake -S <SOURCE DIRECTORY> -B <BUILD_DIRECTORY>' instead." ...