if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries (glretrace rt)
+ if (READPROC_H_FOUND)
+ target_link_libraries (glretrace proc)
+ endif ()
endif ()
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries (eglretrace rt)
+ if (READPROC_H_FOUND)
+ target_link_libraries (eglretrace proc)
+ endif ()
endif ()
install (TARGETS eglretrace RUNTIME DESTINATION bin)