FindRTS.cmake
300 Bytes
# Tries to find the RTS include directory
find_path( RTS_INCLUDE_DIR rts_glShaderProgram.h HINTS $ENV{RTS_PATH})
set (RTS_INCLUDE_DIRS ${RTS_INCLUDE_DIR})
file (GLOB RTS_SOURCE ${RTS_INCLUDE_DIR}/rts/source/*.cpp)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(RTS REQUIRED_VARS TRUE RTS_INCLUDE_DIR)