COMP: Moving to the parent directory the set INCLUDE_DIRECTORIES command.
authorLuis Ibanez <luis.ibanez@gmail.com>
Tue, 31 Aug 2010 23:37:21 +0000 (23:37 +0000)
committerLuis Ibanez <luis.ibanez@gmail.com>
Tue, 31 Aug 2010 23:37:21 +0000 (23:37 +0000)
Given that files in "codec" look for files in "libjp3dvm", and files in
"libjp3dvm" look for header files in "codec".

jp3d/CMakeLists.txt
jp3d/codec/CMakeLists.txt

index b560ec716d08ca448f6bbbf9ba28e36a2a430585..ede8b83def0f2f7ecbe7b1bf39d84aff56440941 100644 (file)
@@ -3,6 +3,13 @@
 #VER_MAJOR = 1
 #VER_MINOR = 0.0
 
+# Headers file are located here:
+INCLUDE_DIRECTORIES(
+  ${CMAKE_CURRENT_SOURCE_DIR}/codec
+  ${CMAKE_CURRENT_SOURCE_DIR}/libjp3dvm
+  )
+
+
 SUBDIRS(
   libjp3dvm
   codec
index 87bdc0250ae0f05e15605e62c46f2e081ed8fd13..5ed13e7012f00ed7f0dfb934b0ba070e0e9f5b45 100644 (file)
@@ -25,11 +25,6 @@ IF(DONT_HAVE_GETOPT)
 ENDIF(DONT_HAVE_GETOPT)
 
 
-# Headers file are located here:
-INCLUDE_DIRECTORIES(
-  ${CMAKE_CURRENT_SOURCE_DIR}/../libjp3dvm
-  )
-
 # Do the proper thing when building static...if only there was configured
 # headers or def files instead
 #IF(NOT BUILD_SHARED_LIBS)