share/hedgewars/Data/CMakeLists.txt
author sheepluva
Wed, 11 Jun 2014 12:55:24 +0200
changeset 10276 89056c7254ef
parent 8340 46a9fde631f4
child 11317 62287d4044e7
permissions -rw-r--r--
fix hint and gl2 build. NOTE: this does not change that GL2 segfaults right away. that is an issue that dates back at least 50 commits, but most likely even back to the webgl merge. I guess nobody actually tried to run hedgewars in GL2 since back then :P
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8340
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     1
foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Music" "Sounds" "Themes" "Missions" "Names" "misc" "Scripts")
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     2
    add_subdirectory(${dir})
1945
b997bcf86c39 patch by TheXception:
unc0rr
parents: 596
diff changeset
     3
endforeach(dir)
8340
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     4
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     5
if(${GL2})
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     6
    add_subdirectory(Shaders)
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     7
endif(${GL2})