From 43b5dfdf9c9cc47fe287f0eb93feb710a904d985 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Tue, 22 Mar 2016 19:35:11 -0700 Subject: [PATCH] Make powershell-native use source from the superproject --- src/powershell-native/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/powershell-native/CMakeLists.txt b/src/powershell-native/CMakeLists.txt index 31076f2ab..183988d69 100644 --- a/src/powershell-native/CMakeLists.txt +++ b/src/powershell-native/CMakeLists.txt @@ -9,20 +9,20 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd") include_directories( - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshcommon) + nativemsh/pwrshcommon) link_directories( - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshcommon) + nativemsh/pwrshcommon) add_definitions(-DUNICODE) add_definitions(-D_UNICODE) add_executable(powershell WIN32 - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshcommon/ConfigFileReader.cpp - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshcommon/pwrshcommon.cpp - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshcommon/WinSystemCallFacade.cpp + nativemsh/pwrshcommon/ConfigFileReader.cpp + nativemsh/pwrshcommon/pwrshcommon.cpp + nativemsh/pwrshcommon/WinSystemCallFacade.cpp - ../../src/monad/monad/nttargets/assemblies/nativemsh/pwrshexe/MainEntry.cpp) + nativemsh/pwrshexe/MainEntry.cpp) # This subsystem definition is using old policy. TODO: figure out for release and the rest set_target_properties(powershell PROPERTIES COMPILE_DEFINITIONS "_CONSOLE")