Blame view

FindRTS.cmake 300 Bytes
3f56f1f9   dmayerich   initial commit
1
2
  # Tries to find the RTS include directory

  

3f36b18e   David Mayerich   Adding planewave ...
3
  find_path( RTS_INCLUDE_DIR rts_glShaderProgram.h HINTS $ENV{RTS_PATH})

3f56f1f9   dmayerich   initial commit
4
   

3f36b18e   David Mayerich   Adding planewave ...
5
6
  set (RTS_INCLUDE_DIRS ${RTS_INCLUDE_DIR})

  file (GLOB RTS_SOURCE ${RTS_INCLUDE_DIR}/rts/source/*.cpp)

3f56f1f9   dmayerich   initial commit
7
8
  

  FIND_PACKAGE_HANDLE_STANDARD_ARGS(RTS REQUIRED_VARS TRUE RTS_INCLUDE_DIR)