Skip to content

Commit

Permalink
CMake: compile generated proto sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Sep 1, 2024
1 parent 7da1b03 commit 3369f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ include("cmake/sourcesdk/targets/interfaces.cmake")
include("cmake/sourcesdk/targets/mathlib.cmake")
include("cmake/sourcesdk/targets/tier1.cmake")

add_library(${PROJECT_NAME} ${SOURCESDK_SOURCE_FILES})
add_library(${PROJECT_NAME} ${SOURCESDK_SOURCE_FILES} ${SOURCESDK_PROTO_SOURCE_FILES})

set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 17)
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD_REQUIRED ON)
Expand Down

0 comments on commit 3369f49

Please sign in to comment.