Skip to content

Commit

Permalink
Compilation warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoherbelin committed Aug 24, 2024
1 parent 12aa3b1 commit c12deb4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ else ()
set(TINYXML2_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/ext/tinyxml2)
set(TINYXML2_LIBRARIES TINYXML2)
add_library(TINYXML2 "${CMAKE_CURRENT_SOURCE_DIR}/ext/tinyxml2/tinyxml2.cpp")
set_property(TARGET TINYXML2 PROPERTY CXX_STANDARD 17)
set_property(TARGET TINYXML2 PROPERTY C_STANDARD 11)
message(STATUS "Compiling 'TinyXML2' from https://github.com/leethomason/tinyxml2.git -- ${TINYXML2_INCLUDE_DIRS}")
endif()

Expand Down Expand Up @@ -401,8 +403,8 @@ include_directories(
${OSCPACK_INCLUDE_DIR}
)
add_library(OSCPACK "${OSCPACK_SRCS}")
set_property(TARGET ${OSCPACK} PROPERTY CXX_STANDARD 17)
set_property(TARGET ${OSCPACK} PROPERTY C_STANDARD 11)
set_property(TARGET OSCPACK PROPERTY CXX_STANDARD 17)
set_property(TARGET OSCPACK PROPERTY C_STANDARD 11)
if(APPLE)
target_compile_definitions(OSCPACK
PRIVATE
Expand Down

0 comments on commit c12deb4

Please sign in to comment.