Skip to content

Commit 50f9edb

Browse files
committed
CMake: SHOW_DEBUG_PRINT_ON_SILS -> C2A_SHOW_DEBUG_PRINT_ON_SILS
1 parent 5d18cd4 commit 50f9edb

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

examples/mobc/CMakeLists.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ set(C2A_USER_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/src_user)
3434
include_directories(src)
3535

3636
# Output debug print to SILS console window
37-
option(SHOW_DEBUG_PRINT_ON_SILS "Show debug print")
38-
set(SHOW_DEBUG_PRINT_ON_SILS ON)
39-
if(SHOW_DEBUG_PRINT_ON_SILS)
37+
option(C2A_SHOW_DEBUG_PRINT_ON_SILS "Show debug print" ON)
38+
if(C2A_SHOW_DEBUG_PRINT_ON_SILS)
4039
add_definitions(-DSHOW_DEBUG_PRINT_ON_SILS)
4140
message("Show debug print")
4241
endif()

examples/subobc/CMakeLists.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ set(C2A_USER_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/src_user)
3232
include_directories(src)
3333

3434
# Output debug print to SILS console window
35-
option(SHOW_DEBUG_PRINT_ON_SILS "Show debug print")
36-
set(SHOW_DEBUG_PRINT_ON_SILS ON)
37-
if(SHOW_DEBUG_PRINT_ON_SILS)
35+
option(C2A_SHOW_DEBUG_PRINT_ON_SILS "Show debug print" ON)
36+
if(C2A_SHOW_DEBUG_PRINT_ON_SILS)
3837
add_definitions(-DSHOW_DEBUG_PRINT_ON_SILS)
3938
message("Show debug print")
4039
endif()

0 commit comments

Comments
 (0)