Commit 73458364 authored by Pablo Toharia's avatar Pablo Toharia

Added -D_DEBUG tried to set default source dir to /src.

parent f0958edc
project( gmrvvissp )
cmake_minimum_required( VERSION 2.8 FATAL_ERROR )
set( COMMON_SOURCE_DIR ${CMAKE_SOURCE_DIR}/src )
# Disable in source building
if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
message(FATAL "no in source building allowed.")
......@@ -16,6 +19,7 @@ endif(NOT CMAKE_BUILD_TYPE)
if (CMAKE_BUILD_TYPE MATCHES "Debug")
add_definitions(-DDEBUG)
add_definitions(-D_DEBUG)
endif()
include(GitExternal)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment