cmake: Remove PCH support

Compilers are very picky and don't use PCH when they have been compiled
with different flags. I even got some ICE in MSVC, so removing them for now.

Modules are the solution.
This commit is contained in:
Florent Castelli committed 2017-01-24 03:22:03 +01:00
1 parent f70a1a27fa
commit fa04c1479e
4 files changed
+1 -74

No files matched your search

-1
View File
@@ -890,6 +890,5 @@ add_definitions(-DWXBUILDING)
# wxWidgets warnings are not our problem.
add_definitions(-w)
#enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)
add_library(wx STATIC ${PNG_SRCS} ${SRCS})
target_link_libraries(wx ${LIBS})