#-------------------------------------------------------------------
# This file is part of the CMake build system for Hydrax
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

# Configure Hydrax demo build
set(SOURCE_FILES src/main.cpp)

# Add static flag if needed
if(HYDRAX_STATIC)
  add_definitions(-DHYDRAX_STATIC_LIB)
endif()

add_executable(hydraxDemo ${SOURCE_FILES})
target_link_libraries(hydraxDemo ${HYDRAX_LIBRARIES})