Skip to content

Commit

Permalink
Merge pull request #31 from Shahid-Roofi-Khan/Shahid-Roofi-Khan-patch-1
Browse files Browse the repository at this point in the history
Update CMakeLists.txt
  • Loading branch information
filipdutescu committed Oct 7, 2021
2 parents 895f714 + 57d5ca5 commit 5029171
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
message(STATUS "Started CMake for ${PROJECT_NAME} v${PROJECT_VERSION}...\n")

if (UNIX)
add_compile_options("$<$<CONFIG:DEBUG>:-D_DEBUG>") #this will allow to use same _DEBUG macro available in both Linux as well as Windows - MSCV environment. Easy to put Debug specific code.
endif (UNIX)


#
# Setup alternative names
#
Expand Down

0 comments on commit 5029171

Please sign in to comment.