mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-17 15:21:44 +00:00
[cmake] export automatically raylib definitions and compile/link options (#5179)
This commit is contained in:
@@ -91,7 +91,7 @@ if (BUILD_SHARED_LIBS)
|
||||
set_property(TARGET raylib PROPERTY C_VISIBILITY_PRESET hidden)
|
||||
endif ()
|
||||
|
||||
target_link_libraries(raylib "${LIBS_PRIVATE}")
|
||||
target_link_libraries(raylib PRIVATE $<BUILD_INTERFACE:${LIBS_PRIVATE}>)
|
||||
|
||||
# Sets some compile time definitions for the pre-processor
|
||||
# If CUSTOMIZE_BUILD option is on you will not use config.h by default
|
||||
|
Reference in New Issue
Block a user