Commit 14c30365 authored by Isaak Lim's avatar Isaak Lim

fixed the binary include dirs for physim if packages are used

parent f9dd5821
......@@ -31,11 +31,13 @@ else ()
SET( PHYSIM_DEPS "Qwt5;GMP" )
endif ()
IF (PHYSIM_INCLUDE_DIRS)
SET(PHYSIM_FOUND TRUE)
SET( PHYSIM_LIBRARY_DIR "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_LIBDIR}" )
SET( PHYSIM_LIBRARY "PhySim")
list (APPEND PHYSIM_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/libs/PhySim")
file(RELATIVE_PATH rel_path ${CMAKE_SOURCE_DIR} ${PHYSIM_INCLUDE_DIRS})
list (APPEND PHYSIM_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/${rel_path}/PhySim")
ELSE (PHYSIM_INCLUDE_DIRS)
SET( PHYSIM_FOUND FALSE )
SET( PHYSIM_LIBRARY_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