mirror of
https://github.com/jorio/Pomme.git
synced 2024-06-26 09:29:31 +00:00
Add _DEBUG definition in debug mode
This commit is contained in:
parent
87a27333c3
commit
2a48c00ed2
|
@ -62,6 +62,10 @@ add_library(${PROJECT_NAME} ${POMME_SOURCES})
|
||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
|
||||||
|
add_compile_definitions(
|
||||||
|
"$<$<CONFIG:DEBUG>:_DEBUG>"
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||||
${SDL2_INCLUDE_DIRS}
|
${SDL2_INCLUDE_DIRS}
|
||||||
${POMME_SRCDIR}
|
${POMME_SRCDIR}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user