]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Pass correct include path (-I) to nasm.
authorAdam Tkac <atkac@redhat.com>
Tue, 2 Nov 2010 08:15:47 +0000 (08:15 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 2 Nov 2010 08:15:47 +0000 (08:15 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4180 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/jpeg/simd/CMakeLists.txt

index 5be325e9d4284ac0b8dad9567fbd5ab5562dfa18..826079c0b2cf47091e7ec3f46801a4713a8640f9 100644 (file)
@@ -3,10 +3,10 @@ if(NOT DEFINED NASM)
 endif()
 
 if(SIMD_X86_64)
-  set(NAFLAGS -fwin64 -DWIN64 -D__x86_64__ -I${CMAKE_SOURCE_DIR}/win/
+  set(NAFLAGS -fwin64 -DWIN64 -D__x86_64__ -I${CMAKE_CURRENT_SOURCE_DIR}/../win/
     -I${CMAKE_CURRENT_SOURCE_DIR}/)
 else()
-  set(NAFLAGS -fwin32 -DWIN32 -I${CMAKE_SOURCE_DIR}/win/
+  set(NAFLAGS -fwin32 -DWIN32 -I${CMAKE_CURRENT_SOURCE_DIR}/../win/
     -I${CMAKE_CURRENT_SOURCE_DIR}/)
 endif()