blob: e2a943474d1e14607cbbfa82ab0ac448f6857925 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- CMakeLists.txt.orig 2013-10-30 13:11:59 UTC
+++ CMakeLists.txt
@@ -78,6 +78,8 @@ if(BUILD_SHARED_LIBS)
set(LIBHPDF_SHARED ON)
endif(BUILD_SHARED_LIBS)
+include_directories(${CMAKE_SOURCE_DIR}/include)
+
# =======================================================================
# look for headers and libraries
# =======================================================================
@@ -110,7 +112,6 @@ endif(PNG_FOUND)
if(MSVC_VERSION GREATER 1399)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC_VERSION GREATER 1399)
-include_directories(${CMAKE_SOURCE_DIR}/include)
# these are options
@@ -210,9 +211,7 @@ set(
install(FILES ${haru_HDRS} DESTINATION include)
# install various files
-install(FILES README CHANGES INSTALL DESTINATION .)
if(NOT DEVPAK)
- install(DIRECTORY if DESTINATION .)
endif(NOT DEVPAK)
if(DEVPAK)
install(FILES ${CMAKE_BINARY_DIR}/libharu.DevPackage DESTINATION .)
|