mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 16:03:36 +00:00
fb7805d875
- Add a way to generate a FasTCConfig.cmake file so that you can use cmake without having to install it. - Add install paths for users that want to install it. - Hide all public headers in FasTC/ qualified include path, this way we know what files are public directly from the source. Also, it lets us define build-tree and install-tree include directories a lot easier.
11 lines
No EOL
376 B
CMake
11 lines
No EOL
376 B
CMake
SET(PACKAGE_VERSION "@FasTC_VERSION@")
|
|
|
|
# Check whether the requested PACKAGE_FIND_VERSION is compatible
|
|
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
|
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
else()
|
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
|
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
|
|
set(PACKAGE_VERSION_EXACT TRUE)
|
|
endif()
|
|
endif() |