mirror of
https://github.com/halpz/re3
synced 2024-11-16 07:47:44 +01:00
Merge pull request #1233 from madebr/cmake-fixes
Fix cmake installation with conan
This commit is contained in:
commit
3233ffe1c4
2 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ endif()
|
|||
|
||||
set(${PROJECT}_AUDIO "OAL" CACHE STRING "Audio")
|
||||
|
||||
option(${PROJECT}_INSTALL "Enable installation of ${EXECUTABLE} + gamefiles" OFF)
|
||||
option(${PROJECT}_WITH_OPUS "Build ${EXECUTABLE} with opus support" OFF)
|
||||
option(${PROJECT}_WITH_LIBSNDFILE "Build ${EXECUTABLE} with libsndfile (instead of internal decoder)" OFF)
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ class Re3Conan(ConanFile):
|
|||
self.requires("opusfile/0.12")
|
||||
|
||||
def export_sources(self):
|
||||
for d in ("cmake", "src"):
|
||||
for d in ("cmake", "gamefiles", "src"):
|
||||
shutil.copytree(src=d, dst=os.path.join(self.export_sources_folder, d))
|
||||
self.copy("CMakeLists.txt")
|
||||
|
||||
|
|
Loading…
Reference in a new issue