25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
663 B

  1. macro(populate_config_variables_locally target)
  2. get_property(raylib_INCLUDE_DIRS TARGET ${target} PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
  3. #get_property(raylib_LIBRARIES TARGET ${target} PROPERTY LOCATION) # only works for SHARED
  4. get_property(raylib_LDFLAGS TARGET ${target} PROPERTY INTERFACE_LINK_LIBRARIES)
  5. get_property(raylib_DEFINITIONS TARGET ${target} PROPERTY DEFINITIONS)
  6. set(raylib_INCLUDE_DIRS "${raylib_INCLUDE_DIRS}" PARENT_SCOPE)
  7. #set(raylib_LIBRARIES "${raylib_INCLUDE_DIRS}" PARENT_SCOPE)
  8. set(raylib_LDFLAGS "${raylib_LDFLAGS}" PARENT_SCOPE)
  9. set(raylib_DEFINITIONS "${raylib_DEFINITIONS}" PARENT_SCOPE)
  10. endmacro()