Commit 05b4e1c7 authored by Thery Sylvain's avatar Thery Sylvain

bug Zinri dylib compil

parent adf41255
...@@ -16,4 +16,4 @@ ADD_SUBDIRECTORY(surface_distance) ...@@ -16,4 +16,4 @@ ADD_SUBDIRECTORY(surface_distance)
ADD_SUBDIRECTORY(volume_import) ADD_SUBDIRECTORY(volume_import)
#ADD_SUBDIRECTORY(volume_render) #ADD_SUBDIRECTORY(volume_render)
ADD_SUBDIRECTORY(volumetric) #ADD_SUBDIRECTORY(volumetric)
...@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6) ...@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6)
project(Zinri) project(Zinri)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) find_package(ZLIB REQUIRED)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${ZLIB_INCLUDE_DIRS})
file( file(
GLOB_RECURSE GLOB_RECURSE
...@@ -11,3 +13,4 @@ file( ...@@ -11,3 +13,4 @@ file(
) )
add_library( Zinri ${source_files} ) add_library( Zinri ${source_files} )
target_link_libraries(Zinri ${ZLIB_LIBRARIES})
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