Commit e4d5ee8c authored by GILLES Sebastien's avatar GILLES Sebastien

#1217 CMake: slight improvement pointed out by one attempt to relate current...

#1217 CMake: slight improvement pointed out by one attempt to relate current project to an external one.
parent bc0630f9
......@@ -166,7 +166,7 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)
######################################################
# Walk through Sources directory to find all sources to build.
######################################################
add_subdirectory(Sources)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/Sources)
......@@ -15,8 +15,6 @@ if(${CMAKE_C_COMPILER_ID} STREQUAL "AppleClang" OR ${CMAKE_C_COMPILER_ID} STREQU
add_cxx_compiler_flag("-stdlib=libc++")
message("BUILD TYPE" ${CMAKE_BUILD_TYPE})
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
add_definitions(-D_LIBCPP_DEBUG2=0) # Additional checks such as index out of bounds in vectors in libc++; might
# be removed at any point from libc++.
......
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