Skip to content

Commit 36ab190

Browse files
v-einhoffstadt
authored andcommitted
build: Disabled precompiled headers on Linux and macOS due to errors in GitHub build.
1 parent 9a4d89b commit 36ab190

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

src/distribution.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ target_compile_definitions(_dearpygui
3535
$<$<CONFIG:Release>:MV_RELEASE>
3636
)
3737

38-
target_precompile_headers(_dearpygui
39-
PRIVATE mvPyUtils.h
40-
)
38+
if(WIN32)
39+
target_precompile_headers(_dearpygui
40+
PRIVATE mvPyUtils.h
41+
)
42+
endif()
4143

4244
if(WIN32)
4345

src/embedded.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ target_compile_definitions(coreemb
2121
# Add sources
2222
target_sources(coreemb PRIVATE ${MARVEL_SOURCES})
2323

24-
target_precompile_headers(coreemb
25-
PRIVATE mvPyUtils.h
26-
)
24+
if(WIN32)
25+
target_precompile_headers(coreemb
26+
PRIVATE mvPyUtils.h
27+
)
28+
endif()
2729

2830
###############################################################################
2931
# Windows Specifics

0 commit comments

Comments
 (0)