mirror of
https://github.com/halpz/re3.git
synced 2024-12-21 17:25:29 +00:00
Merge pull request #1233 from madebr/cmake-fixes
Fix cmake installation with conan
This commit is contained in:
commit
3233ffe1c4
|
@ -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