Skip to content

Commit

Permalink
Hydrogent: use set_common_target_properties to set cxx standard to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Oct 7, 2024
1 parent 19bc5f8 commit a82d0db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Hydrogent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ convert_shaders_to_headers("${SHADERS}" ${SHADER_OUTPUT_DIR} ${SHADERS_LIST_FILE
set(HYDROGENT_SOURCE ${SOURCE} ${INCLUDE} ${INTERFACE} ${SHADERS} readme.md)
add_library(Diligent-Hydrogent STATIC ${HYDROGENT_SOURCE} ${SHADERS_LIST_FILE} ${SHADERS_INC_LIST})

set_common_target_properties(Diligent-Hydrogent)
set_common_target_properties(Diligent-Hydrogent 17)

add_library(USD-Libraries INTERFACE)

Expand Down Expand Up @@ -231,8 +231,6 @@ PUBLIC

set_target_properties(Diligent-Hydrogent PROPERTIES
FOLDER DiligentFX
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
)

source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${HYDROGENT_SOURCE})
Expand Down

0 comments on commit a82d0db

Please sign in to comment.