diff options
author | Brad King <brad.king@kitware.com> | 2017-08-29 19:33:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-29 19:33:24 (GMT) |
commit | 29907992277e0145a83368f3e8674b0608d745c5 (patch) | |
tree | 50e030e004c4708c240136d633c8bcfabb2f31de /Source | |
parent | 05840793fda17ad261ed58c7dd797237bdea6c44 (diff) | |
parent | 18454ea44d6a1fd2dbc613ad9c3fe941639563aa (diff) | |
download | CMake-29907992277e0145a83368f3e8674b0608d745c5.zip CMake-29907992277e0145a83368f3e8674b0608d745c5.tar.gz CMake-29907992277e0145a83368f3e8674b0608d745c5.tar.bz2 |
Merge branch 'fix-find-package-mode' into release-3.9
Merge-request: !1208
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmakemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index c5a6836..da1fe6d 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -306,7 +306,7 @@ int do_cmake(int ac, char const* const* av) return ret; } cmake::Role const role = - workingMode == cmake::NORMAL_MODE ? cmake::RoleProject : cmake::RoleScript; + workingMode == cmake::SCRIPT_MODE ? cmake::RoleScript : cmake::RoleProject; cmake cm(role); cm.SetHomeDirectory(""); cm.SetHomeOutputDirectory(""); |