Blame view

FindSTIM.cmake 314 Bytes
bfdd8910   David Mayerich   initial commit
1
2
3
4
5
6
7
8
9
10
11
  # set STIMLIB_PATH to the directory containing the stim subdirectory (the stim repository)
  
  include(FindPackageHandleStandardArgs)
  
  set(STIM_INCLUDE_DIR $ENV{STIMLIB_PATH})
  
  find_package_handle_standard_args(STIM DEFAULT_MSG STIM_INCLUDE_DIR)
  
  if(STIM_FOUND)
      set(STIM_INCLUDE_DIRS ${STIM_INCLUDE_DIR})
  endif()