misc/libphysfs/CMakeLists.txt
changeset 9209 2c1e00a764bd
parent 9196 89d98f970de9
child 9224 bce8cf41d666
--- a/misc/libphysfs/CMakeLists.txt	Wed Jun 12 11:17:54 2013 +0200
+++ b/misc/libphysfs/CMakeLists.txt	Wed Jun 12 11:18:20 2013 +0200
@@ -234,7 +234,7 @@
 get_target_property(physfs_fullpath physfs LOCATION)
 
 ## added standard variables emulating the FindPhysFS.cmake ones (FORCE or cmake won't pick 'em)
-set(PHYSFS_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/misc/libphysfs/ CACHE STRING "Physfs include dir" FORCE)
+set(PHYSFS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "Physfs include dir" FORCE)
 set(PHYSFS_LIBRARY ${physfs_fullpath} CACHE STRING "Physfs library path" FORCE)