Commit 887764fe authored by Jan Möbius's avatar Jan Möbius
Browse files

Added dll defines

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6260 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fc64c9da
# - Try to find PHYSIM
# Once done this will define
#
# PHYSIM_FOUND - system has PHYSIM
# PHYSIM_INCLUDE_DIR - the PHYSIM include directory
# PHYSIM_LIBRARY_DIR - where the libraries are
# PHYSIM_LIBRARY - Link these to use PHYSIM
#
IF (PHYSIM_INCLUDE_DIR)
# Already in cache, be silent
SET(PHYSIM_FIND_QUIETLY TRUE)
ENDIF (PHYSIM_INCLUDE_DIR)
FIND_PATH( PHYSIM_INCLUDE_DIR Math/PrincipalComponentAnalysis.hh
PATHS "${CMAKE_SOURCE_DIR}/PhySim" )
MESSAGE(STATUS "${CMAKE_SOURCE_DIR}")
IF (PHYSIM_INCLUDE_DIR)
SET(PHYSIM_FOUND TRUE)
SET( PHYSIM_LIBRARY_DIR "${ACG_PROJECT_LIBDIR}" )
SET( PHYSIM_LIBRARY "PhySim")
ELSE (PHYSIM_INCLUDE_DIR)
SET( PHYSIM_FOUND FALSE )
SET( PHYSIM_LIBRARY_DIR )
ENDIF (PHYSIM_INCLUDE_DIR)
# - Try to find PHYSIM
# Once done this will define
#
# PHYSIM_FOUND - system has PHYSIM
# PHYSIM_INCLUDE_DIR - the PHYSIM include directory
# PHYSIM_LIBRARY_DIR - where the libraries are
# PHYSIM_LIBRARY - Link these to use PHYSIM
#
IF (PHYSIM_INCLUDE_DIR)
# Already in cache, be silent
SET(PHYSIM_FIND_QUIETLY TRUE)
ENDIF (PHYSIM_INCLUDE_DIR)
FIND_PATH( PHYSIM_INCLUDE_DIR Math/PrincipalComponentAnalysis.hh
PATHS "${CMAKE_SOURCE_DIR}/PhySim" )
add_definitions (-DPHYSIMDLL -DUSEPHYSIM )
IF (PHYSIM_INCLUDE_DIR)
SET(PHYSIM_FOUND TRUE)
SET( PHYSIM_LIBRARY_DIR "${ACG_PROJECT_LIBDIR}" )
SET( PHYSIM_LIBRARY "PhySim")
ELSE (PHYSIM_INCLUDE_DIR)
SET( PHYSIM_FOUND FALSE )
SET( PHYSIM_LIBRARY_DIR )
ENDIF (PHYSIM_INCLUDE_DIR)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment