Skip to content

Commit c4c9d4a

Browse files
committed
fix: debug ci/cd fix attempt 2
1 parent 1d69a9d commit c4c9d4a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ else()
109109
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
110110
endif()
111111

112-
# extra flags
113-
option(DEBUG_OUTPUT "Force __VMAWARE_DEBUG__ define" OFF)
114-
if(DEBUG_OUTPUT)
115-
target_compile_definitions(${TARGET} PRIVATE __VMAWARE_DEBUG__)
116-
endif()
117-
118112
# add executable
119113
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIR}")
120114
add_executable(${TARGET} "src/cli.cpp")
@@ -123,6 +117,12 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
123117
endif()
124118
set_property(TARGET ${TARGET} PROPERTY CXX_STANDARD_REQUIRED ON)
125119

120+
# extra flags
121+
option(DEBUG_OUTPUT "Force __VMAWARE_DEBUG__ define" OFF)
122+
if(DEBUG_OUTPUT)
123+
target_compile_definitions(${TARGET} PRIVATE __VMAWARE_DEBUG__)
124+
endif()
125+
126126
# CTest stuff
127127
include(CTest)
128128
enable_testing()

0 commit comments

Comments
 (0)