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:
1 parent
f70a1a27fa
commit
fa04c1479e
4 files changed
+1
-74
No files matched your search
Vendored
-1
@@ -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})
|
||||
Reference in new issue
Block a user