mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Merge pull request #306 from jonassorgenfrei/master
CMake adjust for compute shader Extension
This commit is contained in:
@@ -206,7 +206,7 @@ function(create_project_from_sources chapter demo)
|
|||||||
"src/${chapter}/${demo}/*.vs"
|
"src/${chapter}/${demo}/*.vs"
|
||||||
"src/${chapter}/${demo}/*.fs"
|
"src/${chapter}/${demo}/*.fs"
|
||||||
"src/${chapter}/${demo}/*.gs"
|
"src/${chapter}/${demo}/*.gs"
|
||||||
"src/${chapter}/${demo}/*.comp"
|
"src/${chapter}/${demo}/*.cs"
|
||||||
)
|
)
|
||||||
if (demo STREQUAL "")
|
if (demo STREQUAL "")
|
||||||
SET(replaced "")
|
SET(replaced "")
|
||||||
@@ -237,7 +237,7 @@ function(create_project_from_sources chapter demo)
|
|||||||
# "src/${chapter}/${demo}/*.frag"
|
# "src/${chapter}/${demo}/*.frag"
|
||||||
"src/${chapter}/${demo}/*.fs"
|
"src/${chapter}/${demo}/*.fs"
|
||||||
"src/${chapter}/${demo}/*.gs"
|
"src/${chapter}/${demo}/*.gs"
|
||||||
"src/${chapter}/${demo}/*.comp"
|
"src/${chapter}/${demo}/*.cs"
|
||||||
)
|
)
|
||||||
# copy dlls
|
# copy dlls
|
||||||
file(GLOB DLLS "dlls/*.dll")
|
file(GLOB DLLS "dlls/*.dll")
|
||||||
|
|||||||
Reference in New Issue
Block a user