diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2015-02-04 11:34:34 -0500 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2015-02-07 20:51:05 -0500 |
commit | 6f9408efe3bfe1fd8db54cb8537412d8bd95d969 (patch) | |
tree | 77c6199cdbe41eb9b8f10aca3bd4d65bb81f75e4 /src/utilcode | |
parent | 1aefd69e9875d18829981663e6bf3ceca9c72ede (diff) | |
download | coreclr-6f9408efe3bfe1fd8db54cb8537412d8bd95d969.tar.gz coreclr-6f9408efe3bfe1fd8db54cb8537412d8bd95d969.tar.bz2 coreclr-6f9408efe3bfe1fd8db54cb8537412d8bd95d969.zip |
Remove excess arguments to endfunction() and else()
Arguments to else() are always confusing and endfunction only needs to
match the first argument.
Diffstat (limited to 'src/utilcode')
-rw-r--r-- | src/utilcode/dac/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/utilcode/dyncrt/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utilcode/dac/CMakeLists.txt b/src/utilcode/dac/CMakeLists.txt index d792c4ca57..ff6c48581a 100644 --- a/src/utilcode/dac/CMakeLists.txt +++ b/src/utilcode/dac/CMakeLists.txt @@ -4,7 +4,7 @@ include(${CLR_DIR}/dac.cmake) if(CLR_CMAKE_PLATFORM_UNIX) add_library(utilcode_dac STATIC ${UTILCODE_SOURCES}) add_dependencies(utilcode_dac CoreClrPal) -else(CLR_CMAKE_PLATFORM_UNIX) +else() add_definitions(-DSELF_NO_HOST) add_library(utilcode_dac STATIC ${UTILCODE_SOURCES} ../hostimpl.cpp) endif(CLR_CMAKE_PLATFORM_UNIX)
\ No newline at end of file diff --git a/src/utilcode/dyncrt/CMakeLists.txt b/src/utilcode/dyncrt/CMakeLists.txt index ceb0cff1f4..36f2ef4872 100644 --- a/src/utilcode/dyncrt/CMakeLists.txt +++ b/src/utilcode/dyncrt/CMakeLists.txt @@ -2,6 +2,6 @@ if(CLR_CMAKE_PLATFORM_UNIX) add_library(utilcode STATIC ${UTILCODE_SOURCES}) add_dependencies(utilcode CoreClrPal) -else(CLR_CMAKE_PLATFORM_UNIX) +else() add_library(utilcode STATIC ${UTILCODE_SOURCES}) endif(CLR_CMAKE_PLATFORM_UNIX)
\ No newline at end of file |