Skip to content

Commit d0a0090

Browse files
committed
Updating to remove DEBUG from link options.
1 parent 1441e07 commit d0a0090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ target_link_options(
135135
"${LIB_NAME}" PUBLIC
136136
"$<$<CXX_COMPILER_ID:GNU>:$<$<STREQUAL:${ASAN_ENABLED},TRUE>:-fsanitize=address>>"
137137
"$<$<CXX_COMPILER_ID:CLANG>:$<$<STREQUAL:${ASAN_ENABLED},TRUE>:-fsanitize=address>>"
138-
"$<$<CXX_COMPILER_ID:MSVC>:/DEBUG>"
138+
"$<$<CXX_COMPILER_ID:MSVC>:/OPT:REF>"
139139
)
140140

141141
set(CONFIG_FILE_NAME "${PROJECT_NAME}Config.cmake")

0 commit comments

Comments
 (0)