mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
changes this UPPER_CASE CMake function names to lower_case. CONFIGURE_FILE becomes configure_file and INSTALL becomes install.
This commit is contained in:
parent
642d981acf
commit
7a50075a8b
@ -245,11 +245,11 @@ if(SFML_INSTALL_PKGCONFIG_FILES)
|
|||||||
sfml_set_option(SFML_PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/${SFML_PKGCONFIG_DIR}" PATH "Install directory for SFML's pkg-config .pc files")
|
sfml_set_option(SFML_PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/${SFML_PKGCONFIG_DIR}" PATH "Install directory for SFML's pkg-config .pc files")
|
||||||
|
|
||||||
foreach(sfml_module IN ITEMS all system window graphics audio network)
|
foreach(sfml_module IN ITEMS all system window graphics audio network)
|
||||||
CONFIGURE_FILE(
|
configure_file(
|
||||||
"tools/pkg-config/sfml-${sfml_module}.pc.in"
|
"tools/pkg-config/sfml-${sfml_module}.pc.in"
|
||||||
"tools/pkg-config/sfml-${sfml_module}.pc"
|
"tools/pkg-config/sfml-${sfml_module}.pc"
|
||||||
@ONLY)
|
@ONLY)
|
||||||
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/tools/pkg-config/sfml-${sfml_module}.pc"
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tools/pkg-config/sfml-${sfml_module}.pc"
|
||||||
DESTINATION "${SFML_PKGCONFIG_INSTALL_PREFIX}")
|
DESTINATION "${SFML_PKGCONFIG_INSTALL_PREFIX}")
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user