Skip to content

Commit

Permalink
Merge pull request #7073 from dnakamura/zos_includes
Browse files Browse the repository at this point in the history
CMake: update include paths for z/OS
  • Loading branch information
pshipton committed Sep 16, 2019
2 parents c370981 + 08619bc commit f0b728b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion runtime/gc_modron_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (c) 2017, 2018 IBM Corp. and others
# Copyright (c) 2017, 2019 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -37,6 +37,12 @@ target_include_directories(j9modronstartup
PUBLIC
.
)
if(OMR_OS_ZOS)
target_include_directories(j9modronstartup
PRIVATE
"${omr_SOURCE_DIR}/port/zos390"
)
endif()
target_link_libraries(j9modronstartup
PRIVATE
j9vm_interface
Expand Down
6 changes: 6 additions & 0 deletions runtime/redirector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ target_include_directories(jvm_redirect
"${j9vm_SOURCE_DIR}/j9vm"
"${j9vm_BINARY_DIR}/j9vm"
)
if(OMR_OS_ZOS)
target_include_directories(jvm_redirect
PRIVATE
"${omr_SOURCE_DIR}/port/zos390"
)
endif()
set_target_properties(jvm_redirect PROPERTIES
LIBRARY_OUTPUT_NAME jvm
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
Expand Down

0 comments on commit f0b728b

Please sign in to comment.