diff --git a/server/Windows/CMakeLists.txt b/server/Windows/CMakeLists.txt index b0d680db4..4688b0fa9 100644 --- a/server/Windows/CMakeLists.txt +++ b/server/Windows/CMakeLists.txt @@ -62,7 +62,7 @@ else() freerdp-channels) endif() -target_link_libraries(wfreerdp-server ${${MODULE_PREFIX}_LIBS}) +target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS}) if(WITH_SERVER_INTERFACE) diff --git a/server/Windows/cli/CMakeLists.txt b/server/Windows/cli/CMakeLists.txt index f7d2ade5a..d8a0e418f 100644 --- a/server/Windows/cli/CMakeLists.txt +++ b/server/Windows/cli/CMakeLists.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set(MODULE_NAME "wfreerdp-server") +set(MODULE_NAME "wfreerdp-server-cli") set(MODULE_PREFIX "FREERDP_SERVER_WINDOWS_CLI") include_directories(..)