summaryrefslogtreecommitdiff
blob: ea502bdde9bb4c71306088544fffda01e4c42a87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- CGenius-1.8.0.0-Release-Source.orig/src/install.cmake
+++ CGenius-1.8.0.0-Release-Source/src/install.cmake
@@ -22,7 +22,7 @@
 
 # This will copy the resources files to the proper directory
 IF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
-	INSTALL(DIRECTORY vfsroot/ 
+	INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}vfsroot/ 
 		DESTINATION ${DATADIR})
 ENDIF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
 
@@ -31,7 +31,7 @@
 	DESTINATION ${DOCDIR})
 
 # This will copy the readme file. 
-INSTALL(FILES changelog.txt 
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/changelog.txt 
 	DESTINATION ${DOCDIR})
 
 # Windows might not have those dlls so we ship them with the packages