summaryrefslogtreecommitdiff
path: root/configurecompiler.cmake
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jekoritz@microsoft.com>2019-06-04 18:49:51 (GMT)
committerBrian Robbins <brianrob@microsoft.com>2019-06-04 18:49:51 (GMT)
commited882b151fc20ddaddaabd96bd67b034c6069211 (patch)
tree50ac70ef0f91369416c15f80aa7e7dfa7a739a96 /configurecompiler.cmake
parent3c01e17de0c6651d4049c5ed5e4ac2d8ee5ae8c9 (diff)
downloadcoreclr-ed882b151fc20ddaddaabd96bd67b034c6069211.zip
coreclr-ed882b151fc20ddaddaabd96bd67b034c6069211.tar.gz
coreclr-ed882b151fc20ddaddaabd96bd67b034c6069211.tar.bz2
Fix PGO on Windows (#24949)
* Add warning disables around InitJITHelpers1 for C4731 * Move configureoptimization up in configurecompiler.
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r--configurecompiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake
index 0ad08eb..a8a8ffc 100644
--- a/configurecompiler.cmake
+++ b/configurecompiler.cmake
@@ -7,6 +7,8 @@ set(CLR_DEFINES_CHECKED_INIT DEBUG _DEBUG _DBG URTBLDENV_FRIENDLY=Che
set(CLR_DEFINES_RELEASE_INIT NDEBUG URTBLDENV_FRIENDLY=Retail)
set(CLR_DEFINES_RELWITHDEBINFO_INIT NDEBUG URTBLDENV_FRIENDLY=Retail)
+include(${CMAKE_CURRENT_LIST_DIR}/configureoptimization.cmake)
+
#----------------------------------------
# Detect and set platform variable names
# - for non-windows build platform & architecture is detected using inbuilt CMAKE variables and cross target component configure
@@ -631,5 +633,3 @@ if(CLR_CMAKE_ENABLE_CODE_COVERAGE)
endif(CLR_CMAKE_PLATFORM_UNIX)
endif(CLR_CMAKE_ENABLE_CODE_COVERAGE)
-
-include(${CMAKE_CURRENT_LIST_DIR}/configureoptimization.cmake)