Permalink
Browse files

CMake: Fixed linux builds.

  • Loading branch information...
madmaxoft committed Nov 26, 2014
1 parent a9e77fe commit a971dee379e9de211629b5a8604a152e43990e89
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/CMakeLists.txt
View
@@ -39,7 +39,6 @@ SET (SRCS
Inventory.cpp
Item.cpp
ItemGrid.cpp
LeakFinder.cpp
LightingThread.cpp
LineBlockTracer.cpp
LinearInterpolation.cpp
@@ -59,7 +58,6 @@ SET (SRCS
Scoreboard.cpp
Server.cpp
SetChunkData.cpp
StackWalker.cpp
Statistics.cpp
StringCompression.cpp
StringUtils.cpp
@@ -106,7 +104,6 @@ SET (HDRS
Inventory.h
Item.h
ItemGrid.h
LeakFinder.h
LightingThread.h
LineBlockTracer.h
LinearInterpolation.h
@@ -116,7 +113,6 @@ SET (HDRS
Map.h
MapManager.h
Matrix4.h
MemoryLeak.h
MersenneTwister.h
MobCensus.h
MobFamilyCollecter.h
@@ -130,7 +126,6 @@ SET (HDRS
Scoreboard.h
Server.h
SetChunkData.h
StackWalker.h
Statistics.h
StringCompression.h
StringUtils.h
@@ -178,6 +173,10 @@ if (NOT MSVC)
else ()
# MSVC-specific handling: Put all files into one project, separate by the folders:
# Add the MSVC-specific LeakFinder sources:
list (APPEND SRCS LeakFinder.cpp StackWalker.cpp)
list (APPEND HDRS LeakFinder.h StackWalker.h MemoryLeak.h)
source_group(Bindings FILES "Bindings/Bindings.cpp" "Bindings/Bindings.h")
# Add all subfolders as solution-folders:

0 comments on commit a971dee

Please sign in to comment.