Skip to content

Commit 778ef85

Browse files
GillesDuvertGiloo
andauthored
added 2 lines to remove deprecated declaration warning (#2020)
Co-authored-by: Giloo <gildas@localhost> OSX 13 compilation error ignored, see #2025
1 parent 0a492ae commit 778ef85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ ${SOURCES}
213213
${WX_RC}
214214
)
215215
endif(HAVE_LIBWXWIDGETS AND WIN32)
216-
216+
set_source_files_properties(magick_cl.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
217+
set_source_files_properties(libinit_cl.cpp PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
217218
#whereami
218219
add_library(whereami STATIC ${CMAKE_SOURCE_DIR}/src/whereami/src/whereami.c)
219220
add_subdirectory(antlr)

0 commit comments

Comments
 (0)