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
2017-01-24 01:37:34 +01:00
parent f70a1a27fa
commit fa04c1479e
4 changed files with 1 additions and 74 deletions

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})